From: Jeff King Date: Tue, 5 Sep 2017 12:14:47 +0000 (-0400) Subject: tempfile: factor out activation X-Git-Tag: v2.15.0-rc0~91^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2933ebbac1967a677eaed1945068941bc3ff7751?hp=2933ebbac1967a677eaed1945068941bc3ff7751 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 Signed-off-by: Junio C Hamano ---