{"thread":{"id":"21176","subject":"[PATCH] bash: add support for 'git replace'","startedAt":"2009-10-09T20:49:06Z","lastAt":"2009-10-09T22:19:54Z","messageCount":2,"participants":["Björn Gustavsson","Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"124527","messageId":"4ACFA1C2.6020001@gmail.com","threadId":"21176","inReplyTo":null,"subject":"[PATCH] bash: add support for 'git replace'","fromName":"Björn Gustavsson","fromEmail":"bgustavsson@gmail.com","sentAt":"2009-10-09T20:49:06Z","receivedAt":"2009-10-09T20:49:06Z","isPatch":true,"sender":{"key":"bgustavsson@gmail.com","avatar":"https://avatars.githubusercontent.com/u/74840?v=4"},"body":"\nSigned-off-by: Björn Gustavsson <bgustavsson@gmail.com>\n---\n contrib/completion/git-completion.bash |    6 ++++++\n 1 files changed, 6 insertions(+), 0 deletions(-)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash\nindex 88b1b3c..60009c5 100755\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -1794,6 +1794,11 @@ _git_remote ()\n \tesac\n }\n \n+_git_replace ()\n+{\n+\t__gitcomp \"$(__git_refs)\"\n+}\n+\n _git_reset ()\n {\n \t__git_has_doubledash && return\n@@ -2162,6 +2167,7 @@ _git ()\n \tpush)        _git_push ;;\n \trebase)      _git_rebase ;;\n \tremote)      _git_remote ;;\n+\treplace)     _git_replace ;;\n \treset)       _git_reset ;;\n \trevert)      _git_revert ;;\n \trm)          _git_rm ;;\n-- \n1.6.5.rc3.2.g9b675\n"},{"id":"124538","messageId":"20091009221954.GA9261@spearce.org","threadId":"21176","inReplyTo":"4ACFA1C2.6020001@gmail.com","subject":"Re: [PATCH] bash: add support for 'git replace'","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2009-10-09T22:19:54Z","receivedAt":"2009-10-09T22:19:54Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Acked-by: Shawn O. Pearce <spearce@spearce.org>\n \n> +_git_replace ()\n> +{\n> +\t__gitcomp \"$(__git_refs)\"\n> +}\n> +\n>  _git_reset ()\n>  {\n>  \t__git_has_doubledash && return\n> @@ -2162,6 +2167,7 @@ _git ()\n>  \tpush)        _git_push ;;\n>  \trebase)      _git_rebase ;;\n>  \tremote)      _git_remote ;;\n> +\treplace)     _git_replace ;;\n\n-- \nShawn.\n"}]}