Code

git-archive: work in bare repos
authorCharles Bailey <charles@hashpling.org>
Sat, 25 Oct 2008 15:38:14 +0000 (11:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 26 Oct 2008 23:19:59 +0000 (16:19 -0700)
commitddff8563510a2c5c675d488a02e2642306430fc1
treeb56ff072d95631d87cb08f4054226b1546dc4501
parent225f1d0c6af36722e6a52ab0563a19e86e51933d
git-archive: work in bare repos

This moves the call to git_config to a place where it doesn't break the
logic for using git archive in a bare repository but retains the fix to
make git archive respect core.autocrlf.

Tests are by RenĂ© Scharfe.

Signed-off-by: Charles Bailey <charles@hashpling.org>
Tested-by: Deskin Miller <deskinm@umich.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
builtin-archive.c
t/t5000-tar-tree.sh