Re: [PATCH v5 2/3] diff: add --diff-line-prefix option for passing in a prefix
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Aug 12, 2016, 21:43 UTC
- Message-ID
- <CA+P7+xq+GTbvzOtVvpu4_rdYYy-hhGZHhpk_ka=KkeU7UmQRew@mail.gmail.com>
- In-Reply-To
- <CA+P7+xoX6AT7tGb5AJr1CSjzAQ67o8QXJFF1LxsV_7E_pF-moA@mail.gmail.com>
On Fri, Aug 12, 2016 at 2:21 PM, Jacob Keller <jacob.keller@gmail.com> wrote:
Show 13 quoted lines
> On Fri, Aug 12, 2016 at 2:15 PM, Junio C Hamano <gitster@pobox.com> wrote: >> Otherwise, a "git log --graph -p --submodule=log-with-diff", when >> showing a commit in the superproject that changes submodule from >> commit A to commit B, wouldn't be able to run "git log --graph -p A..B", >> i.e. as if the command recursed beyond the module boundary, would >> it? >> > > Hmmmm, yes. I'll dig through and see if I can get the prefix to be > honored by the git log as well. > > Thanks, > Jake
Ok so the big problem here is that unlike with diff which has support for line-prefixes already due to needing it for graph mode, I can't figure out where to get the prefix added for log output. Especially if we want it to be honored prior to the graph output. This seems like a much bigger task, which is better saved for future maybe?
Thanks, Jake