File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2490,9 +2490,10 @@ __git_main ()
24902490 i=" ${words[c]} "
24912491 case " $i " in
24922492 --git-dir=* ) __git_dir=" ${i# --git-dir=} " ;;
2493+ --git-dir) (( c++ )) ; __git_dir=" ${words[c]} " ;;
24932494 --bare) __git_dir=" ." ;;
24942495 --help) command=" help" ; break ;;
2495- -c) c= $(( ++ c )) ;;
2496+ -c|--work-tree|--namespace) (( c ++ )) ;;
24962497 -* ) ;;
24972498 * ) command=" $i " ; break ;;
24982499 esac
@@ -2510,6 +2511,7 @@ __git_main ()
25102511 --exec-path
25112512 --exec-path=
25122513 --html-path
2514+ --man-path
25132515 --info-path
25142516 --work-tree=
25152517 --namespace=
Original file line number Diff line number Diff line change @@ -365,6 +365,7 @@ test_expect_success 'double dash "git" itself' '
365365 --exec-path Z
366366 --exec-path=
367367 --html-path Z
368+ --man-path Z
368369 --info-path Z
369370 --work-tree=
370371 --namespace=
You can’t perform that action at this time.
0 commit comments