mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-04 21:42:59 -06:00
Lines in a diff beginning with --- or +++ were not being displayed at all. Thanks to Robert Fitzsimons for pointing out the obvious fix, that lines beginning with --- or +++ are only to be suppressed in the diff header. I also took the opportunity to replace a regexp call with a couple of string compare calls, which should be faster. Signed-off-by: Paul Mackerras <paulus@samba.org>
Description
Languages
C
51.7%
Shell
37.5%
Perl
4.3%
Tcl
3%
Python
0.8%
Other
2.5%