Re: squashing patches
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Jun 9, 2008, 16:37 UTC
- Message-ID
- <484D5C5B.9090804@gnu.org>
- In-Reply-To
- <20080609162909.GC8079@leksak.fem-net>
>> (the user could choose whether to not edit the editor, >> or whether to use a no-op for GIT_EDITOR).
Right now, doing
pick a squash b
will always invoke the editor. It could be possible to have two operation modes. One in which the sanity check fails, one in which the automatic concatenation of two commit messages is used.
> Do you think it's useful to add something like --reference (or -C, > or however it is called) to git-merge?
Maybe it's not useful, but I think it's cleaner than adding the option only to git-sequencer.
Paolo
ps: sure you should ask "the others" (who are more knowledgeable than me BTW) for opinions about what I proposed.