summaryrefslogtreecommitdiff
path: root/pager.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-09-05 08:14:47 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-06 17:19:53 +0900
commit2933ebbac1967a677eaed1945068941bc3ff7751 (patch)
tree544fff0a9a756dc62fbd07b515079d26f122bd4a /pager.c
parenttempfile: replace die("BUG") with BUG() (diff)
downloadtgif-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 'pager.c')
0 files changed, 0 insertions, 0 deletions