summaryrefslogtreecommitdiff
path: root/test-index-version.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-12 21:36:42 -0700
committerJunio C Hamano <gitster@pobox.com>2011-05-20 18:38:54 -0700
commitfd5db55d8b6668a1ff9583a6636a4d54ad9519f2 (patch)
tree55d092858570a0c35613245e1abca049808fe822 /test-index-version.c
parentf8c8abc5b76ffd763b9c7c5e4fb054358e82ca28 (diff)
downloadgit-fd5db55d8b6668a1ff9583a6636a4d54ad9519f2.tar.gz
write_entry(): separate two helper functions out
In the write-out codepath, a block of code determines what file in the working tree to write to, and opens an output file descriptor to it. After writing the contents out to the file, another block of code runs fstat() on the file descriptor when appropriate. Separate these blocks out to open_output_fd() and fstat_output() helper functions. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-index-version.c')
0 files changed, 0 insertions, 0 deletions