diff options
author | Jeff King <peff@peff.net> | 2017-09-05 08:14:47 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-06 17:19:53 +0900 |
commit | 2933ebbac1967a677eaed1945068941bc3ff7751 (patch) | |
tree | 544fff0a9a756dc62fbd07b515079d26f122bd4a /refs/packed-backend.c | |
parent | tempfile: replace die("BUG") with BUG() (diff) | |
download | tgif-2933ebbac1967a677eaed1945068941bc3ff7751.tar.xz |
tempfile: factor out activation
There are a few steps required to "activate" a tempfile
struct. Let's pull these out into a function. That saves a
few repeated lines now, but more importantly will make it
easier to change the activation scheme later.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/packed-backend.c')
0 files changed, 0 insertions, 0 deletions