threads / patch / 41236

patchcompletion: add missing git-rebase options

Subject: [PATCH] completion: add missing git-rebase options

## tl;dr

One message between Jan 21, 2016 and Jan 21, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

John Keeping· Jan 21, 2016, 20:52 UTC · lore

This adds the --no-* variants where those are documented in git-rebase(1).

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 contrib/completion/git-completion.bash | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Show changes to contrib/completion/git-completion.bash +6 −2
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 482ca84..7d6d63e 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1685,8 +1685,12 @@ _git_rebase ()
 			--preserve-merges --stat --no-stat
 			--committer-date-is-author-date --ignore-date
 			--ignore-whitespace --whitespace=
-			--autosquash --fork-point --no-fork-point
-			--autostash
+			--autosquash --no-autosquash
+			--fork-point --no-fork-point
+			--autostash --no-autostash
+			--verify --no-verify
+			--keep-empty --root --force-rebase --no-ff
+			--exec
 			"
 
 		return
-- 
2.7.0.226.gfe986fe

← back to recent threads