Re: [PATCH] make commit message a little more consistent and conforting
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 15, 2006, 18:14 UTC
- Message-ID
- <7vvekdvxeo.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0612151032240.18171@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 7 quoted lines
> So in short I do think there should be something shown after a > successful commit, and including the commit sha1 doesn't hurt. > ... > And it is true that diffstat can be quite large. I wouldn't mind the > diffstat to be added to the commit message summary in the text editor > though. And displaying it when -v is used makes also a lot of sense. > But not by default please.
I agree with everything you said in your message, including that commit object name might help as a learning aid.
We could give something like this, though, if we wanted to:
$ git commit
4 files changed, 17 insertions(+), 10 deletions(-)
mode change 100755 => 100644 test.sh