diff options
author | Jeff King <peff@peff.net> | 2017-09-05 08:14:36 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-06 17:19:53 +0900 |
commit | e6fc267314d24fe9a81875b85b28a4b5d0fb78b1 (patch) | |
tree | ae95fcbab7c41b0e7aa5f375b8dc43afbc85cbda /gitweb | |
parent | lockfile: do not rollback lock on failed close (diff) | |
download | tgif-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 'gitweb')
0 files changed, 0 insertions, 0 deletions