Re: [PATCH] git-archive: ignore prefix when checking file attribute
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 10, 2008, 10:56 UTC
- Message-ID
- <7vskxuvuzx.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <47FD31C3.8070001@lsrfire.ath.cx>
Thanks. Will apply as a fix.
In the longer term, we probably should teach attributes.c to optionally read from a tree (introduce git_attribute_set_tree() call upfront, or something like that, but I haven't thought through the details yet), so that archive can ignore what happens to be checked out.