author | Paul Mackerras <paulus@samba.org> | |
Tue, 7 Mar 2006 22:15:32 +0000 (09:15 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Tue, 7 Mar 2006 22:15:32 +0000 (09:15 +1100) | ||
commit | b06bc2a0784cfb5cd9e1313201a16e08c73ff1c6 | |
tree | f0fa67db40bb1a0b89f1a4362755e5ed3c9b0fad | tree | snapshot |
parent | 9f841cf1fbe4150a78555a45fd8a7794010975d4 | commit | diff |
gitk: Fix display of diff lines beginning with --- or +++
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>
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>
gitk | diff | blob | history |