diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2009-09-04 12:22:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-28 10:42:17 -0700 |
commit | 7c3baa9abf0abe15f068d95688bbc27e73a69042 (patch) | |
tree | 8ac47157f6b11c5d69cb320dd5b1d504e0d71f25 /fsck.c | |
parent | aab748636dbbd6412af6f4996c2791eba4246c0c (diff) | |
download | git-7c3baa9abf0abe15f068d95688bbc27e73a69042.tar.gz git-7c3baa9abf0abe15f068d95688bbc27e73a69042.tar.xz |
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 'fsck.c')
0 files changed, 0 insertions, 0 deletions