From: Jeff King Date: Mon, 12 Nov 2012 22:19:01 GMT Subject: Re: [PATCH] custom log formats for "diff --submodule=log" Message-ID: <20121112221901.GD10531@sigill.intra.peff.net> In-Reply-To: On Sun, Nov 11, 2012 at 06:35:16PM +0530, Ramkumar Ramachandra wrote: > 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