Skip to content

Commit 41ca0f7

Browse files
tmzullingergitster
authored andcommitted
completion: add '--copy' option to 'git branch'
In 52d59cc (branch: add a --copy (-c) option to go with --move (-m), 2017-06-18), `git branch` learned a `--copy` option. Include it when providing command completions. Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 52d59cc commit 41ca0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ _git_branch ()
12051205
--color --no-color --verbose --abbrev= --no-abbrev
12061206
--track --no-track --contains --no-contains --merged --no-merged
12071207
--set-upstream-to= --edit-description --list
1208-
--unset-upstream --delete --move --remotes
1208+
--unset-upstream --delete --move --copy --remotes
12091209
--column --no-column --sort= --points-at
12101210
"
12111211
;;

0 commit comments

Comments
 (0)