Re: [GSoC] Some #leftoverbits for anyone looking for little projects
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 28, 2019, 10:37 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1905281235280.44@tvgsbejvaqbjf.bet>
- In-Reply-To
- <20190520182353.22221-1-matheus.bernardino@usp.br>
Hi Matheus,
On Mon, 20 May 2019, Matheus Tavares wrote:
Show 14 quoted lines
> > Give "rebase -i" some option so when you "reword" the patch is > > included in the message. > > > > I keep going to the shell because I have no idea what change I'm > > describing. > > I have the same problem, so I wanted to try solving this. The patch > bellow creates a "rebase.verboseCommit" configuration that includes a > diff when rewording or squashing. I'd appreciate knowing your thoughts > on it. > > As Christian wisely pointed out to me, though, we can also achieve this > behavior by setting "commit.verbose" to true. The only "downside" of it > is that users cannot choose to see the diff only when rebasing.
You could of course add an alias like
[alias] myrebase = -c commit.verbose=true rebase
which *should* work.
However, I am actually slightly in favor of your patch because it *does* make it more convenient to have this on during rebases only.
Ciao, Dscho