summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2017-11-16 12:09:06 -0500
committerJunio C Hamano <gitster@pobox.com>2017-11-17 10:32:19 +0900
commit41ca0f773e7c907280f4ce846b1def384f8c97e4 (patch)
treeac62af55f9fda3e48b8a6e26c82321d95fc7ad4b
parent52d59cc6452ed1aeec91f4c168a853ea8d9d5496 (diff)
downloadgit-tz/complete-branch-copy.tar.gz
completion: add '--copy' option to 'git branch'tz/complete-branch-copy
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>
-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
"
;;