diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-08-27 22:41:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-27 22:44:41 -0700 |
commit | 9277d60233a1829742aa2d9d20ddbfc3b2b7acde (patch) | |
tree | eec15f54dfba51f537cfa93fd422c9f812430691 /Documentation/callouts.xsl | |
parent | Fix initialization of a bare repository (diff) | |
download | tgif-9277d60233a1829742aa2d9d20ddbfc3b2b7acde.tar.xz |
git --bare cmd: do not unconditionally nuke GIT_DIR
"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>
Diffstat (limited to 'Documentation/callouts.xsl')
0 files changed, 0 insertions, 0 deletions