{"thread":{"id":"47222","subject":"[PATCH] completion: add '--copy' option to 'git branch'","startedAt":"2017-11-16T17:09:19Z","lastAt":"2017-11-16T17:09:19Z","messageCount":1,"participants":["Todd Zullinger"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"332677","messageId":"20171116170906.8155-1-tmz@pobox.com","threadId":"47222","inReplyTo":null,"subject":"[PATCH] completion: add '--copy' option to 'git branch'","fromName":"Todd Zullinger","fromEmail":"tmz@pobox.com","sentAt":"2017-11-16T17:09:06Z","receivedAt":"2017-11-16T17:09:19Z","isPatch":true,"sender":{"key":"tmz@pobox.com","avatar":"https://avatars.githubusercontent.com/u/806319?v=4"},"body":"In 52d59cc645 (branch: add a --copy (-c) option to go with --move (-m),\n2017-06-18), `git branch` learned a `--copy` option.  Include it when\nproviding command completions.\n\nSigned-off-by: Todd Zullinger <tmz@pobox.com>\n---\n contrib/completion/git-completion.bash | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash\nindex f07f16b28f..89eb65d280 100644\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -1204,7 +1204,7 @@ _git_branch ()\n \t\t\t--color --no-color --verbose --abbrev= --no-abbrev\n \t\t\t--track --no-track --contains --no-contains --merged --no-merged\n \t\t\t--set-upstream-to= --edit-description --list\n-\t\t\t--unset-upstream --delete --move --remotes\n+\t\t\t--unset-upstream --delete --move --copy --remotes\n \t\t\t--column --no-column --sort= --points-at\n \t\t\t\"\n \t\t;;\n-- \n2.15.0\n\n"}]}