Re: [RFC] best way to show diff of commit

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: [RFC] best way to show diff of commit

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:53

Pierre Habouzit [off-list ref] writes:
  Hmm it doesn't because I would have to call git commit -v each time I
commit and well I _like_ having the status better. And moreover I want
the diff to go in a separated buffer too.
I've never felt it a problem while editing the log message in Emacs.

Don't enhanced vi implementations let you split the same buffer into
two allowing you to view different portions of it these days?

Re: [RFC] best way to show diff of commit

From: Pierre Habouzit <hidden>
Date: 2016-06-15 22:43:53

On Sun, Nov 25, 2007 at 10:27:09PM +0000, Junio C Hamano wrote:
Pierre Habouzit [off-list ref] writes:
quoted
  Hmm it doesn't because I would have to call git commit -v each time I
commit and well I _like_ having the status better. And moreover I want
the diff to go in a separated buffer too.
I've never felt it a problem while editing the log message in Emacs.

Don't enhanced vi implementations let you split the same buffer into
two allowing you to view different portions of it these days?
  Well, maybe I could write my plugin so that it cuts the diff out from
the main buffer indeed, though I will have to learn using git commit -v
instead of git commit :P

  That and the fact that the syntax colorization of the diff doesn't
work, but it's probably not up to git to fix that.

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Re: [RFC] best way to show diff of commit

From: David Brown <hidden>
Date: 2016-06-15 22:43:53

On Sun, Nov 25, 2007 at 02:27:09PM -0800, Junio C Hamano wrote:
Pierre Habouzit [off-list ref] writes:
quoted
  Hmm it doesn't because I would have to call git commit -v each time I
commit and well I _like_ having the status better. And moreover I want
the diff to go in a separated buffer too.
I've never felt it a problem while editing the log message in Emacs.

Don't enhanced vi implementations let you split the same buffer into
two allowing you to view different portions of it these days?
Yes, certainly with vim, which is what most distributions seem to include
as the enhanced vim.  I have noticed that there seem to be fewer vim users
that figure out these kinds of things than emacs users, though.

Dave
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help