• T
    gitk: Split out diff part in $commitinfo · b449eb2c
    Thomas Rast 提交于
    So far we just parsed everything after the headers into the "comment"
    bit of $commitinfo, including notes and -- if you gave weird options
    -- the diff.
    
    Split out the diff, if any, into a separate field.  It's easy to
    recognize, since it always starts with /^diff/ and is preceded by an
    empty line.
    
    We take care to snip away said empty line.  The display code already
    properly spaces the end of the message from the first diff, and
    leaving another empty line at the end looks ugly.
    Signed-off-by: NThomas Rast <trast@inf.ethz.ch>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    b449eb2c
gitk 333.2 KB