diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-01-14 17:18:19 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-16 13:12:07 -0800 |
commit | 59f9d2dd60f97c55c92c3273903f64048a27e513 (patch) | |
tree | 091d123595e4d233083f892ab5c20f85c2705cbb /t/t9110-git-svn-use-svm-props.sh | |
parent | read-cache.c: change type of "temp" in write_shared_index() (diff) | |
download | tgif-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/t9110-git-svn-use-svm-props.sh')
0 files changed, 0 insertions, 0 deletions