[RFC][PATCH] Show the diff in the commit messages

James Westby jw+debian at jameswestby.net
Tue Jul 10 20:45:50 BST 2007


On (10/07/07 21:28), Goffredo Baroncelli wrote:
> Hi all,
> 
> I found sometime useful to add at the bottom of the commit message (the one 
> which will be discarded) the diff which I will commit. So I added the 
> option "--diff" to the commit command. Obviusly the diff is only a help for 
> providing a good commit message and it will not be recorded  in the log.
> 
> Any thoughts ?
> 

Nice. Thanks for doing this. I used to use the vim plugin that did this,
but the locking changes that came with dirstate broke that. I would like
this option to be included. The changes look quite non-intrusive, but I
have not tried it, and they will need a test or two to be included.

What would the feelings be about providing a configuration option for
this? Is it preferred to just use aliases to do this sort of thing?

Thanks,

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256



More information about the bazaar mailing list