Files
git/builtin
Derrick Stolee cfe83216e4 csum-file: refactor finalize_hashfile() method
If we want to use a hashfile on the temporary file for a lockfile, then
we need finalize_hashfile() to fully write the trailing hash but also keep
the file descriptor open.

Do this by adding a new CSUM_HASH_IN_STREAM flag along with a functional
change that checks this flag before writing the checksum to the stream.
This differs from previous behavior since it would be written if either
CSUM_CLOSE or CSUM_FSYNC is provided.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-04-02 14:27:30 -07:00
..
2017-11-27 11:06:37 +09:00
2018-02-15 14:55:43 -08:00
2017-10-06 10:07:18 +09:00
2017-12-27 11:16:25 -08:00
2018-02-15 14:55:43 -08:00
2017-11-18 12:31:29 +09:00
2017-10-07 16:27:55 +09:00
2018-02-13 13:39:04 -08:00
2018-02-15 14:55:41 -08:00
2017-12-08 09:52:42 -08:00
2017-09-25 15:24:07 +09:00
2018-01-23 13:16:37 -08:00
2017-11-21 14:07:50 +09:00
2017-08-26 22:55:09 -07:00
2018-02-13 13:39:03 -08:00
2018-02-15 14:55:43 -08:00
2017-11-18 12:31:29 +09:00
2017-12-08 09:52:42 -08:00
2017-12-13 11:15:14 -08:00
2017-12-27 11:16:29 -08:00
2018-02-15 14:55:47 -08:00
2017-11-21 14:07:50 +09:00