File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1688,6 +1688,7 @@ __git_diff_common_options="--stat --numstat --shortstat --summary
1688
1688
--submodule --submodule= --ignore-submodules
1689
1689
--indent-heuristic --no-indent-heuristic
1690
1690
--textconv --no-textconv
1691
+ --patch --no-patch
1691
1692
"
1692
1693
1693
1694
_git_diff ()
@@ -2031,11 +2032,9 @@ _git_log ()
2031
2032
--no-walk --no-walk= --do-walk
2032
2033
--parents --children
2033
2034
--expand-tabs --expand-tabs= --no-expand-tabs
2034
- --patch
2035
2035
$merge
2036
2036
$__git_diff_common_options
2037
2037
--pickaxe-all --pickaxe-regex
2038
- --patch --no-patch
2039
2038
"
2040
2039
return
2041
2040
;;
@@ -2938,7 +2937,7 @@ _git_show ()
2938
2937
;;
2939
2938
--* )
2940
2939
__gitcomp " --pretty= --format= --abbrev-commit --no-abbrev-commit
2941
- --oneline --show-signature --patch
2940
+ --oneline --show-signature
2942
2941
--expand-tabs --expand-tabs= --no-expand-tabs
2943
2942
$__git_diff_common_options
2944
2943
"
@@ -3021,7 +3020,10 @@ _git_stash ()
3021
3020
list,--* )
3022
3021
__gitcomp " --name-status --oneline --patch-with-stat"
3023
3022
;;
3024
- show,--* |branch,--* )
3023
+ show,--* )
3024
+ __gitcomp " $__git_diff_common_options "
3025
+ ;;
3026
+ branch,--* )
3025
3027
;;
3026
3028
branch,* )
3027
3029
if [ $cword -eq 3 ]; then
You can’t perform that action at this time.
0 commit comments