Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH] custom log formats for "diff --submodule=log"

From: Jeff King <hidden>
Date: 2016-06-15 22:55:15

On Sun, Nov 11, 2012 at 06:35:16PM +0530, Ramkumar Ramachandra wrote:
Ramkumar Ramachandra wrote:
quoted
Don't you mean `git diff` in place of `git log -p`
though?  I don't think `git log --submodule` does anything differently
from `git log`.
Sorry for the nonsense.  I just realized that it affects the diffs
shown by `git log -p`.
Right. I don't know if that is a common workflow (I do not really use
submodules), but it was the first thing I tried when I heard about
--submodule (and it does make sense to me that it would work).

But the logic could apply equally well to:

  git diff --submodule=log:%an

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