* [PATCH] completion: complete rebase --edit-todo
@ 2013-06-22 8:03 Ramkumar Ramachandra
2013-06-22 11:53 ` [PATCH v2] " Ramkumar Ramachandra
0 siblings, 1 reply; 2+ messages in thread
From: Ramkumar Ramachandra @ 2013-06-22 8:03 UTC (permalink / raw)
To: Git List; +Cc: Junio C Hamano
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
contrib/completion/git-completion.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fd9a1d5..43c6226 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1624,7 +1624,7 @@ _git_rebase ()
--preserve-merges --stat --no-stat
--committer-date-is-author-date --ignore-date
--ignore-whitespace --whitespace=
- --autosquash
+ --autosquash --edit-todo
"
return
--
1.8.3.1.487.gd3dfebf.dirty
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] completion: complete rebase --edit-todo
2013-06-22 8:03 [PATCH] completion: complete rebase --edit-todo Ramkumar Ramachandra
@ 2013-06-22 11:53 ` Ramkumar Ramachandra
0 siblings, 0 replies; 2+ messages in thread
From: Ramkumar Ramachandra @ 2013-06-22 11:53 UTC (permalink / raw)
To: Git List; +Cc: Junio C Hamano
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
contrib/completion/git-completion.bash | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 6c3bafe..b51c9e3 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1609,6 +1609,10 @@ _git_rebase ()
{
local dir="$(__gitdir)"
if [ -d "$dir"/rebase-apply ] || [ -d "$dir"/rebase-merge ]; then
+ if [ -e "$dir"/rebase-merge/interactive ]; then
+ __gitcomp "--continue --skip --abort --edit-todo"
+ return
+ fi
__gitcomp "--continue --skip --abort"
return
fi
--
1.8.3.1.487.g3e7a5b4.dirty
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-22 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-22 8:03 [PATCH] completion: complete rebase --edit-todo Ramkumar Ramachandra
2013-06-22 11:53 ` [PATCH v2] " Ramkumar Ramachandra
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).