Add interactive option in rebase command completion list.
PATCH 1/1 Add interactive option in rebase command completion list.
--- contrib/completion/git-completion.bash | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
contrib/completion/git-completion.bash +1 -1
@@ -865,7 +865,7 @@ _git_rebase () return ;; --*) - __gitcomp "--onto --merge --strategy" + __gitcomp "--onto --merge --strategy --interactive" return esac __gitcomp "$(__git_refs)"
Signature · 1 line
1.5.5.rc3.7.gba133
contrib/completion/git-completion.bash _git_rebase () · line 868
Quoted 2 lines · Pascal Obry
contrib/completion/git-completion.bash +1
-1- __gitcomp "--onto --merge --strategy" + __gitcomp "--onto --merge --strategy --interactive"
I personally do not think this is worth it where a single "-i" is enough.
Quoted 6 lines · Junio C Hamano
contrib/completion/git-completion.bash _git_rebase () · line 868
Quoted 2 lines · Pascal Obry
contrib/completion/git-completion.bash +1
-1- __gitcomp "--onto --merge --strategy" + __gitcomp "--onto --merge --strategy --interactive"I personally do not think this is worth it where a single "-i" is enough.
I like unambiguous name (I do prefer --interactive instead of -i). It is painful to enter so the bash completion come quite handy here. The patch is safe, simple and clean, I see no reason to not include it.
Pascal.
Signature · 8 lines
--|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Quoted 11 lines · Pascal Obry
Quoted 6 lines · Junio C Hamano
contrib/completion/git-completion.bash _git_rebase () · line 868
Quoted 2 lines · Pascal Obry
contrib/completion/git-completion.bash +1
-1- __gitcomp "--onto --merge --strategy" + __gitcomp "--onto --merge --strategy --interactive"I personally do not think this is worth it where a single "-i" is enough.
I like unambiguous name (I do prefer --interactive instead of -i). It is painful to enter so the bash completion come quite handy here. The patch is safe, simple and clean, I see no reason to not include it.
I agree with Pascal here, include the option.
Signature · 1 line
Shawn.
Quoted 9 lines · Shawn O. Pearce
Quoted 8 lines · Pascal Obry
Quoted 6 lines · Junio C Hamano
contrib/completion/git-completion.bash _git_rebase () · line 868
Quoted 2 lines · Pascal Obry
contrib/completion/git-completion.bash +1
-1- __gitcomp "--onto --merge --strategy" + __gitcomp "--onto --merge --strategy --interactive"I personally do not think this is worth it where a single "-i" is enough.
Quoted 7 lines
Quoted 3 lines
I like unambiguous name (I do prefer --interactive instead of -i). It is painful to enter so the bash completion come quite handy here. The patch is safe, simple and clean, I see no reason to not include it.
I agree with Pascal here, include the option.
Signed-off-by Shawn O. Pearce <[email protected]>
Gaaaah.
I didn't mean SBO. I mean Acked-by!
Stupid fingers.
Signature · 1 line
Shawn.
Quoted 6 lines · Junio C Hamano
contrib/completion/git-completion.bash _git_rebase () · line 868
Quoted 2 lines · Pascal Obry
contrib/completion/git-completion.bash +1
-1- __gitcomp "--onto --merge --strategy" + __gitcomp "--onto --merge --strategy --interactive"I personally do not think this is worth it where a single "-i" is enough.
One advantage of bash completion, in my opinion, is being able to be reminded of option names by tabbing twice to get a list of possible completions. For exactly such a case, I'd be in favor of this patch.
Just my $0.02,
Elijah