From: Teemu Matilainen <teemu.matilainen@iki.fi>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>,
"Shawn O. Pearce" <spearce@spearce.org>,
Teemu Matilainen <teemu.matilainen@iki.fi>
Subject: [PATCH 1/3] completion: unite --reuse-message and --reedit-message handling
Date: Thu, 6 Oct 2011 21:40:29 +0300 [thread overview]
Message-ID: <1317926431-609-1-git-send-email-teemu.matilainen@iki.fi> (raw)
Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
---
contrib/completion/git-completion.bash | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 8648a36..656297d 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1259,12 +1259,8 @@ _git_commit ()
" "" "${cur##--cleanup=}"
return
;;
- --reuse-message=*)
- __gitcomp "$(__git_refs)" "" "${cur##--reuse-message=}"
- return
- ;;
- --reedit-message=*)
- __gitcomp "$(__git_refs)" "" "${cur##--reedit-message=}"
+ --reuse-message=*|--reedit-message=*)
+ __gitcomp "$(__git_refs)" "" "${cur#*=}"
return
;;
--untracked-files=*)
--
1.7.7.138.g7f41b6
next reply other threads:[~2011-10-06 18:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 18:40 Teemu Matilainen [this message]
2011-10-06 18:40 ` [PATCH 2/3] completion: commit --fixup and --squash Teemu Matilainen
2011-10-06 18:40 ` [PATCH 3/3] completion: push --set-upstream Teemu Matilainen
2011-10-06 23:14 ` [PATCH 1/3] completion: unite --reuse-message and --reedit-message handling Junio C Hamano
2011-10-08 1:04 ` SZEDER Gábor
2011-10-08 1:06 ` [PATCH 1/2] completion: unite --reuse-message and --reedit-message for 'notes' SZEDER Gábor
2011-10-08 1:09 ` [PATCH 2/2] completion: unite --format and --pretty for 'log' and 'show' SZEDER Gábor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317926431-609-1-git-send-email-teemu.matilainen@iki.fi \
--to=teemu.matilainen@iki.fi \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).