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

2012-11-12 Thread Jeff King
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 th

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

2012-11-11 Thread Ramkumar Ramachandra
Hi again, 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`. Ram -- To unsubscribe fr

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

2012-11-11 Thread Ramkumar Ramachandra
Hi Peff, Jeff King wrote: > An off-list discussion made me wonder if something like this would be > useful: > > git log -p --submodule=log:' %m %an <%ae>: %s' > > where the format could be whatever you find useful. Interesting. Don't you mean `git diff` in place of `git log -p` though? I don

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

2012-11-08 Thread Jeff King
An off-list discussion made me wonder if something like this would be useful: git log -p --submodule=log:' %m %an <%ae>: %s' where the format could be whatever you find useful. I do not use submodules myself, so writing the patch below was just a fun exercise. I'm not planning on polishing it