[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: [PATCH] Make git-prune submodule aware (and fix a SEGFAULT in the
From:       Johannes Sixt <J.Sixt () eudaptics ! com>
Date:       2007-08-17 9:14:44
Message-ID: 46C56704.6D917A53 () eudaptics ! com
[Download RAW message or body]

Andy Parkins wrote:
> Could any of the guru's give me a guide to upload-pack.c?  I assume the
> problem is going to be the same as it was for git-prune, the hash for the
> gitlink object in the tree is being assumed to be an object in the ODB;
> which isn't the case with gitlink entries.  Where would that be happening
> in git-upload-pack?  The fix is going to be..
> 
>  if( S_ISGITLINK(mode))
>       continue;
> 
> But I've got no idea where to put it :-)

Most likely in list-objects.c:traverse_commit_list(), which is called
from somewhere in upload-pack.c.

-- Hannes

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic