summaryrefslogtreecommitdiff
path: root/lib/branch_rename.tcl
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-25 04:20:02 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-25 04:23:20 -0400
commitbecafaace69980d2980802432e86e7873317a4b6 (patch)
tree09bf0a2a6960d9e2a0ab70fa6493950835c177c5 /lib/branch_rename.tcl
parentgit-gui: Display commit/tag/remote info in tooltip of revision picker (diff)
downloadtgif-becafaace69980d2980802432e86e7873317a4b6.tar.xz
git-gui: Show ref last update times in revision chooser tooltips
If we can we now show the last modification date of a loose ref as part of the tooltip information shown in the revision picker. This gives the user an indication of when was the last time that the ref was modified locally, and may especially be of interest when looking at a tracking branch. If we cannot find the loose ref file than we try to fallback on the reflog and scan it for the date of the last record. We don't start with the reflog however as scanning it backwards from the end is not an easy thing to do in Tcl. So I'm being lazy here and just going through the entire file, line by line. Since that is less efficient than a single stat system call, its our fallback strategy. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/branch_rename.tcl')
0 files changed, 0 insertions, 0 deletions