Re: .git/info/attributes not cloned
- From
Jeff King <peff@peff.net>
- Date
- Mar 27, 2008, 04:53 UTC
- Message-ID
- <20080327045342.GC6426@coredump.intra.peff.net>
- In-Reply-To
- <47EB271F.1050307@rea-group.com>
On Thu, Mar 27, 2008 at 03:48:31PM +1100, Toby Corkindale wrote:
Show 8 quoted lines
>> I vaguely recall some discussion of this in the past, so maybe it isn't >> a good idea. But I would think changing git-archive to respect >> .gitattributes might be worth doing (presumably the version of >> .gitattributes from the tree that is being exported). > > Respecting the repo's .gitattributes would feel right. It seems unusual > (to me) that it bypasses $REMOTE/.gitattributes, but DOES check > $REMOTE/info/attributes.
I agree that it seems like a bug. You might search the list archives for discussion around the export_subst attribute to see if it was discussed then or if it is simply an omission.
-Peff