summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebd15bf)
raw | patch | inline | side by side (parent: ebd15bf)
author | Arto Jonsson <ajonsson@kapsi.fi> | |
Sun, 22 Mar 2009 18:49:07 +0000 (20:49 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 23 Mar 2009 00:41:57 +0000 (17:41 -0700) |
Signed-off-by: Arto Jonsson <ajonsson@kapsi.fi>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | patch | blob | history |
index 6bc32df1782d055770633522a785025dcd352d09..10e36a7b0dc574eae9a6a5465a5b19506909251d 100755 (executable)
__git_complete_revlist
}
+_git_fsck ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ case "$cur" in
+ --*)
+ __gitcomp "
+ --tags --root --unreachable --cache --no-reflogs --full
+ --strict --verbose --lost-found
+ "
+ return
+ ;;
+ esac
+ COMPREPLY=()
+}
+
_git_gc ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
diff) _git_diff ;;
fetch) _git_fetch ;;
format-patch) _git_format_patch ;;
+ fsck) _git_fsck ;;
gc) _git_gc ;;
grep) _git_grep ;;
help) _git_help ;;