summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2017-11-16 17:09:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-17 01:32:19 (GMT)
commit41ca0f773e7c907280f4ce846b1def384f8c97e4 (patch)
treeac62af55f9fda3e48b8a6e26c82321d95fc7ad4b /contrib
parent52d59cc6452ed1aeec91f4c168a853ea8d9d5496 (diff)
downloadgit-41ca0f773e7c907280f4ce846b1def384f8c97e4.zip
git-41ca0f773e7c907280f4ce846b1def384f8c97e4.tar.gz
git-41ca0f773e7c907280f4ce846b1def384f8c97e4.tar.bz2
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 15b40f8..8aca836 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
"
;;