mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-15 09:08:42 -05:00
48a81b7cda1e58d8cc4d9bcadce76bbf1680ab7d
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>
Description
Releases
335
Languages
C
51.7%
Shell
37.5%
Perl
4.3%
Tcl
3%
Python
0.8%
Other
2.5%