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 ()
2490
2490
i=" ${words[c]} "
2491
2491
case " $i " in
2492
2492
--git-dir=* ) __git_dir=" ${i# --git-dir=} " ;;
2493
+ --git-dir) (( c++ )) ; __git_dir=" ${words[c]} " ;;
2493
2494
--bare) __git_dir=" ." ;;
2494
2495
--help) command=" help" ; break ;;
2495
- -c) c= $(( ++ c )) ;;
2496
+ -c|--work-tree|--namespace) (( c ++ )) ;;
2496
2497
-* ) ;;
2497
2498
* ) command=" $i " ; break ;;
2498
2499
esac
@@ -2510,6 +2511,7 @@ __git_main ()
2510
2511
--exec-path
2511
2512
--exec-path=
2512
2513
--html-path
2514
+ --man-path
2513
2515
--info-path
2514
2516
--work-tree=
2515
2517
--namespace=
Original file line number Diff line number Diff line change @@ -365,6 +365,7 @@ test_expect_success 'double dash "git" itself' '
365
365
--exec-path Z
366
366
--exec-path=
367
367
--html-path Z
368
+ --man-path Z
368
369
--info-path Z
369
370
--work-tree=
370
371
--namespace=
You can’t perform that action at this time.
0 commit comments