git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request: git rebase --no-edit --continue
@ 2016-12-22 22:35 Daniel Chumak
  2016-12-22 22:38 ` Stefan Beller
  2016-12-22 23:07 ` Johannes Schindelin
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Chumak @ 2016-12-22 22:35 UTC (permalink / raw)
  To: git

Is there a reason why there is no '--no-edit' option for git rebase? I 
would like to use this option after editing a commit and continuing the 
current interactive rebase without having to change the commit message.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Feature request: git rebase --no-edit --continue
  2016-12-22 22:35 Feature request: git rebase --no-edit --continue Daniel Chumak
@ 2016-12-22 22:38 ` Stefan Beller
  2016-12-22 23:07 ` Johannes Schindelin
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Beller @ 2016-12-22 22:38 UTC (permalink / raw)
  To: Daniel Chumak; +Cc: git@vger.kernel.org

On Thu, Dec 22, 2016 at 2:35 PM, Daniel Chumak
<chumak.daniel.dev@gmail.com> wrote:
> Is there a reason why there is no '--no-edit' option for git rebase?

Nobody added it so far.

> I would
> like to use this option after editing a commit and continuing the current
> interactive rebase without having to change the commit message.
>

You're welcome to write a patch for it. :)

On the other hand you could just use
EDITOR=true git rebase --continue

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Feature request: git rebase --no-edit --continue
  2016-12-22 22:35 Feature request: git rebase --no-edit --continue Daniel Chumak
  2016-12-22 22:38 ` Stefan Beller
@ 2016-12-22 23:07 ` Johannes Schindelin
  2016-12-22 23:22   ` Daniel Chumak
  1 sibling, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2016-12-22 23:07 UTC (permalink / raw)
  To: Daniel Chumak; +Cc: git

Hi Daniel,

On Thu, 22 Dec 2016, Daniel Chumak wrote:

> Is there a reason why there is no '--no-edit' option for git rebase? I would
> like to use this option after editing a commit and continuing the current
> interactive rebase without having to change the commit message.

Why not

	git commit -C HEAD && git rebase --continue

?

Ciao,
Johannes

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Feature request: git rebase --no-edit --continue
  2016-12-22 23:07 ` Johannes Schindelin
@ 2016-12-22 23:22   ` Daniel Chumak
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Chumak @ 2016-12-22 23:22 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

Uff, I forgot about the CC of my last reply.
>
> Why not
>
> 	git commit -C HEAD && git rebase --continue
>
> ?
>
> Ciao,
> Johannes
Thanks this is a cleaner solution. I guess because I was too fixed upon 
knowing of the existence of the no-edit option from other git commands 
that I forget about this, even though I am using it quite often.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-22 23:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22 22:35 Feature request: git rebase --no-edit --continue Daniel Chumak
2016-12-22 22:38 ` Stefan Beller
2016-12-22 23:07 ` Johannes Schindelin
2016-12-22 23:22   ` Daniel Chumak

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).