{"thread":{"id":"43142","subject":"[PATCH 1/6] Added missing completions for show-branch and merge-base.","startedAt":"2006-11-05T11:20:02Z","lastAt":"2006-11-05T11:20:02Z","messageCount":1,"participants":["Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":6},"messages":[{"id":"293912","messageId":"20061105112002.GA20495@spearce.org","threadId":"43142","inReplyTo":null,"subject":"[PATCH 1/6] Added missing completions for show-branch and merge-base.","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-11-05T11:20:02Z","receivedAt":"2006-11-05T11:20:02Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"The show-branch and merge-base commands were partially supported\nwhen it came to bash completions as they were only specified in\none form another.  Now we specify them in both forms.\n\nSigned-off-by: Shawn O. Pearce <spearce@spearce.org>\n---\n contrib/completion/git-completion.bash |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash\nindex a3fbb90..fdfbf95 100755\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -309,6 +309,7 @@ _git ()\n \t\tlog)         _git_log ;;\n \t\tls-remote)   _git_ls_remote ;;\n \t\tls-tree)     _git_ls_tree ;;\n+\t\tmerge-base)  _git_merge_base ;;\n \t\tpull)        _git_pull ;;\n \t\tpush)        _git_push ;;\n \t\treset)       _git_reset ;;\n@@ -342,12 +343,14 @@ complete -o default -o nospace -F _git_p\n complete -o default -o nospace -F _git_push git-push\n complete -o default            -F _git_reset git-reset\n complete -o default            -F _git_show git-show\n+complete -o default -o nospace -F _git_log git-show-branch\n complete -o default -o nospace -F _git_log git-whatchanged\n \n # The following are necessary only for Cygwin, and only are needed\n # when the user has tab-completed the executable name and consequently\n # included the '.exe' suffix.\n #\n+complete -o default -o nospace -F _git git.exe\n complete -o default            -F _git_branch git-branch.exe\n complete -o default -o nospace -F _git_cat_file git-cat-file.exe\n complete -o default -o nospace -F _git_diff git-diff.exe\n@@ -356,4 +359,5 @@ complete -o default -o nospace -F _git_l\n complete -o default -o nospace -F _git_ls_tree git-ls-tree.exe\n complete -o default            -F _git_merge_base git-merge-base.exe\n complete -o default -o nospace -F _git_push git-push.exe\n+complete -o default -o nospace -F _git_log git-show-branch.exe\n complete -o default -o nospace -F _git_log git-whatchanged.exe\n-- \n1.4.3.3.g9621\n"}]}