Re: [BUG] git-new-workdir doesn't understand packed refs
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 18, 2007, 18:17 UTC
- Message-ID
- <7vlkgph7i0.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070418174350.GB5913@xp.machine.xx>
Peter Baumann <waste.manager@gmx.de> writes:
Show 10 quoted lines
> On Wed, Apr 18, 2007 at 09:23:14AM -0700, Junio C Hamano wrote: >> >> Recursively dereferencing the symbolic link by hand to a limit >> to avoid infinite recursion (error out when we reach the limit) >> would be a more elaborate solution that probably is the right >> thing to do. >> > I thought about the case where packed-refs is a symlink to another symlink > and then decided that it's not worth to implement this because a workdir > should be linked to a _repo_ and not another workdir.
That's incredibly weak, as the initial motivation of this patch is that you did not want to say "you should run gc only in the _repo_ not in workdir".