From: Jeff King Date: Thu, 27 Mar 2008 04:53:42 GMT Subject: Re: .git/info/attributes not cloned 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: >> 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