Re: [PATCH] custom log formats for "diff --submodule=log"
- From
Jeff King <peff@peff.net>
- Date
- Nov 12, 2012, 22:19 UTC
- Message-ID
- <20121112221901.GD10531@sigill.intra.peff.net>
- In-Reply-To
- <CALkWK0nT8RXXUUkLuS8zWVMG=wsm0b740q-qYb3iN3cO7Tb=0A@mail.gmail.com>
On Sun, Nov 11, 2012 at 06:35:16PM +0530, Ramkumar Ramachandra wrote:
Show 7 quoted lines
> Ramkumar Ramachandra wrote: > > 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