Revision 9277d60233a1829742aa2d9d20ddbfc3b2b7acde authored by Junio C Hamano on 28 August 2007, 05:41:23 UTC, committed by Junio C Hamano on 28 August 2007, 05:44:41 UTC
"GIT_DIR=some.where git --bare cmd" and worse yet
"git --git-dir=some.where --bare cmd" were very confusing.  They
both ignored git-dir specified, and instead made $cwd as GIT_DIR.

This changes --bare not to override existing GIT_DIR.

This has been like this for a long time.  Let's hope nobody sane
relied on this insane behaviour.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6adcca3
History
File Mode Size
pubring.gpg -rw-r--r-- 1.1 KB
random_seed -rw-r--r-- 600 bytes
secring.gpg -rw-r--r-- 1.2 KB
trustdb.gpg -rw-r--r-- 1.2 KB

back to top