summaryrefslogtreecommitdiff
path: root/tests-clar/diff/submodules.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-08-17 02:12:04 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-08-17 02:12:04 +0200
commit090a07d29548ce69034b4be6ba043014226893c9 (patch)
treea4bf02679ffd088bcbf69d8756149eb88a14575d /tests-clar/diff/submodules.c
parent7a3764bee92456e5ee2ed41be9abb0ffb4165eb7 (diff)
downloadlibgit2-090a07d29548ce69034b4be6ba043014226893c9.tar.gz
odb: avoid hashing twice in and edge case
If none of the backends support direct writes and we must stream the whole file, we already know what the object's id should be; so use the stream's functions directly, bypassing the frontend's hashing and overwriting of our existing id.
Diffstat (limited to 'tests-clar/diff/submodules.c')
0 files changed, 0 insertions, 0 deletions