summaryrefslogtreecommitdiff
path: root/lib/commit.tcl
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-02 14:41:10 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-06 01:26:49 -0400
commit81fb7efeda2ce14cbb44b91eed37aeeb2e541832 (patch)
treea89eaea27da5c9d26a4d04afaf15f22562da0fdd /lib/commit.tcl
parentgit-gui: Make the line number column slightly wider in blame (diff)
downloadtgif-81fb7efeda2ce14cbb44b91eed37aeeb2e541832.tar.xz
git-gui: Automatically expand the line number column as needed
After we finish reading a chunk of data from the file stream we know how many digits we need in the line number column to show the current maximum line number. If our line number column isn't wide enough, we should expand it out to the correct width. Any file over our default allowance of 5 digits (99,999 lines) is so large that the slight UI "glitch" when we widen the column out is trivial compared to the time it will take Git to fully do the annotations. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions