author | Kevin Ballard <kevin@sb.org> | |
Thu, 18 Dec 2008 09:26:48 +0000 (01:26 -0800) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sun, 21 Dec 2008 23:16:18 +0000 (10:16 +1100) | ||
commit | 61f57cb07d88e06a2027a4a4c571c59d353361a5 | |
tree | 7433a0aa1a47b6211eadffdfeee11efdfa277713 | tree | snapshot |
parent | 48027a918d89bad6735897a2c3da77c0451a038c | commit | diff |
gitk: Allow unbalanced quotes/braces in commit headers
When parsing commits, gitk treats the headers of the commit as tcl
lists. This causes errors if the header contains an unbalanced quote
or open brace. Splitting the line on spaces allows us to treat it as
a set of words instead of as a tcl list, which prevents errors.
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
When parsing commits, gitk treats the headers of the commit as tcl
lists. This causes errors if the header contains an unbalanced quote
or open brace. Splitting the line on spaces allows us to treat it as
a set of words instead of as a tcl list, which prevents errors.
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |