aboutsummaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-09-14 18:44:01 -0700
committerJunio C Hamano <gitster@pobox.com>2009-09-15 02:40:51 -0700
commit250f79930d84af54dce15320914ea911d58dd8ca (patch)
treefa0b7e7375aaea6c5fe2d98f4d85c2fdd1c716ff /git-gui/lib/diff.tcl
parent6957eb9a39cc765862e125edeef0dd70f359cff1 (diff)
downloadgit-250f79930d84af54dce15320914ea911d58dd8ca.tar.gz
git-250f79930d84af54dce15320914ea911d58dd8ca.tar.xz
diff.c: split emit_line() from the first char and the rest of the line
A new helper function emit_line_0() takes the first line of diff output (typically "-", " ", or "+") separately from the remainder of the line. No other functional changes. This change will make it easier to reuse the logic when emitting the rewrite diff, as we do not want to copy a line only to add "+"/"-"/" " immediately before its first character when we produce rewrite diff output. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions