git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2] completion: complete rebase --edit-todo

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jun 22, 2013, 11:53 UTC
Message-ID
<1371901990-10151-1-git-send-email-artagnon@gmail.com>
In-Reply-To
<1371888201-23675-1-git-send-email-artagnon@gmail.com>
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
Previous: Ramkumar Ramachandra
Message 2 of 2 in “completion: complete rebase --edit-todo”
  1. completion: complete rebase --edit-todoRamkumar Ramachandra, Jun 22, 2013
  2. completion: complete rebase --edit-todoRamkumar Ramachandra, Jun 22, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.