Re: [PATCH] git-archive: recursive prefix directory creation
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 19, 2007, 20:22 UTC
- Message-ID
- <7vtzu8va12.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <464F568B.9030308@lsrfire.ath.cx>
René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
Show 16 quoted lines
> Junio C Hamano schrieb: >> René Scharfe <rene.scharfe@lsrfire.ath.cx> writes: >> >>> Currently git-archive only adds a single directory entry for prefixes, >>> e.g. for --prefix=a/b/c/ only the directory a/b/c/ would be added to >>> the archive, not a/ nor a/b/. While tar and unzip don't seem to have >>> a problem handling these missing entries, their omission was not >>> intended. >> >> Until we start tracking directories (we briefly discussed, and I >> think I agree with Linus that it should not be too painful), I'd >> rather keep the current behaviour which I feel is more >> consistent with what we really are doing. > > Hmm, fair enough. I started out with a simple cleanup and then I guess > went a bit overboard with that overblown path walker. :-]
Well, I take that back -- I did not realize you were primarily talking about the LEADING part of the path.