From: Junio C Hamano Date: Fri, 09 Oct 2009 06:50:52 GMT Subject: Re: Git archive and trailing "/" in prefix Message-ID: <7vpr8x5acz.fsf@alter.siamese.dyndns.org> In-Reply-To: <4ACE177E.209@lsrfire.ath.cx> René Scharfe writes: > Sergio Callegari schrieb: > ... >> As a matter of fact, the archiver behaves quite strangely if that slash is >> missing. Files in the root of the working dir are added to the archive with >> their own name modified by the prefix and the same happens for working dir >> sub-directories. However, no file present in the sub-directories, nor >> sub-sub-directories are added. > > The latter is a bug. > ... > The following patch fixes... Thanks. Applied with a trivial test.