diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-12 21:36:42 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-20 18:38:54 -0700 |
commit | fd5db55d8b6668a1ff9583a6636a4d54ad9519f2 (patch) | |
tree | 55d092858570a0c35613245e1abca049808fe822 /t/t4007-rename-3.sh | |
parent | f8c8abc5b76ffd763b9c7c5e4fb054358e82ca28 (diff) | |
download | git-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 't/t4007-rename-3.sh')
0 files changed, 0 insertions, 0 deletions