summaryrefslogtreecommitdiff
path: root/t/t4013/diff.log_-SF_master_--max-count=0
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-03-02 10:29:53 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-05 12:35:36 -0800
commit074336e5ed4ff10577f22c6812e092e3f6607405 (patch)
tree3d9efa59a808ca5a226f679454e9640b94a3a092 /t/t4013/diff.log_-SF_master_--max-count=0
parentwrite_ref_sha1(): move write elision test to callers (diff)
downloadtgif-074336e5ed4ff10577f22c6812e092e3f6607405.tar.xz
lock_ref_sha1_basic(): do not set force_write for missing references
If a reference is missing, its SHA-1 will be null_sha1, which can't possibly match a new value that ref_transaction_commit() is trying to update it to. So there is no need to set force_write in this scenario. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.log_-SF_master_--max-count=0')
0 files changed, 0 insertions, 0 deletions