summaryrefslogtreecommitdiff
path: root/Documentation/git-update-index.txt
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-05-05 17:38:53 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-07 07:03:01 -0700
commite6812cfa9aba69a8c9d83b0710291b27bff0f7a3 (patch)
treeb2b1906922e5bfe8c1903e28bbc6264e533c564a /Documentation/git-update-index.txt
parentGit 1.8.3-rc1 (diff)
downloadtgif-e6812cfa9aba69a8c9d83b0710291b27bff0f7a3.tar.xz
fast-export: do not parse non-commit objects while reading marks file
We read from the marks file and keep only marked commits, but in order to find the type of object, we are parsing the whole thing, which is slow, specially in big repositories with lots of big files. There's no need for that, we can query the object information with sha1_object_info(). Before this, loading the objects of a fresh emacs import, with 260598 blobs took 14 minutes, after this patch, it takes 3 seconds. This is the way fast-import does it. Also die if the object is not found (like fast-import). Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-index.txt')
0 files changed, 0 insertions, 0 deletions