summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-09-11 10:36:53 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-23 20:57:55 +1000
commit62d3ea65a7f7f01b72db7f318029be0b0ede5a28 (patch)
tree0684dcfc889bd2c848bca464841dc84b4e57c53b /commit.c
parent219ea3a99b9d4253815bcd71fd78eb00665acdbb (diff)
downloadgit-62d3ea65a7f7f01b72db7f318029be0b0ede5a28.tar.gz
gitk: Speed up the reading of references
We were doing two execs for each tag - one to map the tag ID to a commit ID and one to read the contents of the tag for later display. This speeds up the process by not reading the contents of the tag (instead it is read later if needed), and by using the -d flag to git show-ref, which gives us refs/tags/foo^{} lines which give us the commit ID. Also this uses string operations instead of regexps. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions