summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Todd Zullinger <tmz@pobox.com>2017-11-16 12:09:06 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-17 10:32:19 +0900
commit41ca0f773e7c907280f4ce846b1def384f8c97e4 (patch)
treeac62af55f9fda3e48b8a6e26c82321d95fc7ad4b /contrib
parentbranch: add a --copy (-c) option to go with --move (-m) (diff)
downloadtgif-41ca0f773e7c907280f4ce846b1def384f8c97e4.tar.xz
completion: add '--copy' option to 'git branch'
In 52d59cc645 (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 <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 15b40f8774..8aca836ef9 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1205,7 +1205,7 @@ _git_branch ()
--color --no-color --verbose --abbrev= --no-abbrev
--track --no-track --contains --no-contains --merged --no-merged
--set-upstream-to= --edit-description --list
- --unset-upstream --delete --move --remotes
+ --unset-upstream --delete --move --copy --remotes
--column --no-column --sort= --points-at
"
;;