summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2008-10-13 12:12:33 +0400
committerPaul Mackerras <paulus@samba.org>2008-10-14 22:25:54 +1100
commit4db09304f97b12d7db5d199eebb1f24c74e12d17 (patch)
treebc4a946acb3943e861bbc487721e93d30024bc63 /commit.h
parent09c7029dfa58748268a6306bfe764456a65a22bf (diff)
downloadgit-4db09304f97b12d7db5d199eebb1f24c74e12d17.tar.gz
gitk: Implement batch lookup and caching of encoding attrs
When the diff contains thousands of files, calling git-check-attr once per file is very slow. With this patch gitk does attribute lookup in batches of 30 files while reading the diff file list, which leads to a very noticeable speedup. It may be possible to reimplement this even more efficiently, if git-check-attr is modified to support a --stdin-paths option. Additionally, it should quote the ':' character in file paths, or provide a more robust way of column separation. Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com> Tested-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions