We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd15bf commit 4bca863Copy full SHA for 4bca863
contrib/completion/git-completion.bash
@@ -952,6 +952,21 @@ _git_format_patch ()
952
__git_complete_revlist
953
}
954
955
+_git_fsck ()
956
+{
957
+ local cur="${COMP_WORDS[COMP_CWORD]}"
958
+ case "$cur" in
959
+ --*)
960
+ __gitcomp "
961
+ --tags --root --unreachable --cache --no-reflogs --full
962
+ --strict --verbose --lost-found
963
+ "
964
+ return
965
+ ;;
966
+ esac
967
+ COMPREPLY=()
968
+}
969
+
970
_git_gc ()
971
{
972
local cur="${COMP_WORDS[COMP_CWORD]}"
@@ -1880,6 +1895,7 @@ _git ()
1880
1895
diff) _git_diff ;;
1881
1896
fetch) _git_fetch ;;
1882
1897
format-patch) _git_format_patch ;;
1898
+ fsck) _git_fsck ;;
1883
1899
gc) _git_gc ;;
1884
1900
grep) _git_grep ;;
1885
1901
help) _git_help ;;
0 commit comments