summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-11-04 21:09:00 +1100
committerPaul Mackerras <paulus@samba.org>2008-11-04 21:09:00 +1100
commit48a81b7cda1e58d8cc4d9bcadce76bbf1680ab7d (patch)
tree55f3847f80dda163415178cb5e2797a676f1f966 /builtin/commit.c
parentfc4977e1b989503c6dcfbc527cda2458d63d0400 (diff)
downloadgit-48a81b7cda1e58d8cc4d9bcadce76bbf1680ab7d.tar.gz
gitk: Cope with unmerged files in local changes
This modifies gettreediffline so that it when we get both a "U" line and an "M" line for the same file in the output from git diff-files or git diff-index --cached (used when the user clicks on a fake commit) we don't add the same filename to the treediff list twice. This also makes getblobdiffline recognize the "* Unmerged path ..." lines we get when we ask for the actual diffs, and makes a tiny optimization in makediffhdr. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions