author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 9 May 2007 04:36:25 +0000 (00:36 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 9 May 2007 04:36:25 +0000 (00:36 -0400) | ||
commit | 0511798f06d3456885682605b54bd3bc378e8fda | |
tree | 0ac080f4b979a69ec023f2b3d8b8c010f7c5ca2b | tree | snapshot |
parent | a0db0d61fbc447f13cb0aadf01c83eb193b22dc9 | commit | diff |
git-gui: Cleanup minor nits in blame code
We can use [list ...] rather than "", especially when we are talking
about values as then they are properly escaped if necessary. Small
nit, but probably not a huge deal as the only data being inlined here
is Tk paths.
Some of the lines in the parser code were longer than 80 characters
wide, and they actually were all the same value on the end part of
the line. Rather than keeping the mess copied-and-pasted around we
can set the last argument into a local variable and reuse it many
times.
The commit display code was also rather difficult to read on an 80
character wide terminal, so I'm moving it all into a double quoted
string that is easier to read.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
We can use [list ...] rather than "", especially when we are talking
about values as then they are properly escaped if necessary. Small
nit, but probably not a huge deal as the only data being inlined here
is Tk paths.
Some of the lines in the parser code were longer than 80 characters
wide, and they actually were all the same value on the end part of
the line. Rather than keeping the mess copied-and-pasted around we
can set the last argument into a local variable and reuse it many
times.
The commit display code was also rather difficult to read on an 80
character wide terminal, so I'm moving it all into a double quoted
string that is easier to read.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl | diff | blob | history |