summaryrefslogtreecommitdiff
path: root/git-mergetool--lib.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2009-09-04 10:22:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-28 17:42:17 (GMT)
commit7c3baa9abf0abe15f068d95688bbc27e73a69042 (patch)
tree8ac47157f6b11c5d69cb320dd5b1d504e0d71f25 /git-mergetool--lib.sh
parentaab748636dbbd6412af6f4996c2791eba4246c0c (diff)
downloadgit-7c3baa9abf0abe15f068d95688bbc27e73a69042.zip
git-7c3baa9abf0abe15f068d95688bbc27e73a69042.tar.gz
git-7c3baa9abf0abe15f068d95688bbc27e73a69042.tar.bz2
help -a: do not unnecessarily look for a repository
Although 'git help -a' actually doesn't need to be run inside a git repository and uses no repository-specific information, it looks for a git directory. On 'git <TAB><TAB>' the bash completion runs 'git help -a' and unnecessary searching for a git directory can be annoying in auto-mount environments. With this commit, 'git help' no longer searches for a repository when run with the -a option. Reported by Vincent Danjean through http://bugs.debian.org/539273 Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-mergetool--lib.sh')
0 files changed, 0 insertions, 0 deletions