summaryrefslogtreecommitdiff
path: root/t/t1700-split-index.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-01-14 17:18:19 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-01-16 13:12:07 -0800
commit59f9d2dd60f97c55c92c3273903f64048a27e513 (patch)
tree091d123595e4d233083f892ab5c20f85c2705cbb /t/t1700-split-index.sh
parentread-cache.c: change type of "temp" in write_shared_index() (diff)
downloadtgif-59f9d2dd60f97c55c92c3273903f64048a27e513.tar.xz
read-cache.c: move tempfile creation/cleanup out of write_shared_index
For one thing, we have more consistent cleanup procedure now and always keep errno intact. The real purpose is the ability to break out of write_locked_index() early when mks_tempfile() fails in the next patch. It's more awkward to do it if this mks_tempfile() is still inside write_shared_index(). Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1700-split-index.sh')
0 files changed, 0 insertions, 0 deletions