Re: [PATCH] git-archive: ignore prefix when checking file attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/4/9, René Scharfe <rene.scharfe@xxxxxxxxxxxxxx>:
> Ulrik Sverdrup noticed that git-archive doesn't correctly apply the attribute
>  export-subst when the option --prefix is given, too.
>
>  When it checked if a file has the attribute turned on, git-archive would try
>  to look up the full path -- including the prefix -- in .gitattributes.  That's
>  wrong, as the prefix doesn't need to have any relation to any existing
>  directories, tracked or not.
>
>  This patch makes git-archive ignore the prefix when looking up if value of the
>  attribute export-subst for a file.
>
>  Signed-off-by: Rene Scharfe <rene.scharfe@xxxxxxxxxxxxxx>
>  ---
>  Ulrik, does this patch fix the problem for you?  It applies to v1.5.4.4 and
>  v1.5.5 equally.


Thanks for the patch René!

First I reproduced my problem on vanilla git v1.5.5, and it is still
there as in v.1.5.4.4.
I applied this patch and that fixed my issue, testing both tar and zip.

Ulrik Sverdrup
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux