Re: git archive --worktree-attributes doesn't exclude .gitattributes anymore

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

 



On Tue, Jun 04, 2013 at 11:18:59PM +0100, Gianfranco Costamagna wrote:

> git version 1.8.1.2
> [...]
> I tried to put .gitattributes or .git/info/attributes, the file is the following
> http://pastebin.com/irngA1L8
> [...]
> The archive gets created, but every file is inside, no exclusions at all.
> 
> I suspect a regression between git 1.7 and 1.8

Yes, there was a regression with matching directory names in
gitattributes in v1.8.1.1. The regression is fixed in v1.8.1.6 and
above.

If upgrading is too hard, I think you can work around it by putting
"win_build/" instead of "win_build" in your .gitattributes (after
v1.8.1.6, both should work for your case).

-Peff
--
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]