summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-09-05 08:14:36 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-06 17:19:53 +0900
commite6fc267314d24fe9a81875b85b28a4b5d0fb78b1 (patch)
treeae95fcbab7c41b0e7aa5f375b8dc43afbc85cbda /git-rebase.sh
parentlockfile: do not rollback lock on failed close (diff)
downloadtgif-e6fc267314d24fe9a81875b85b28a4b5d0fb78b1.tar.xz
tempfile: prefer is_tempfile_active to bare access
The tempfile code keeps an "active" flag, and we have a number of assertions to make sure that the objects are being used in the right order. Most of these directly check "active" rather than using the is_tempfile_active() accessor. Let's prefer using the accessor, in preparation for it growing more complicated logic (like checking for NULL). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase.sh')
0 files changed, 0 insertions, 0 deletions