author | Dana L. How <danahow@gmail.com> | |
Sun, 13 May 2007 18:28:19 +0000 (11:28 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 May 2007 04:55:26 +0000 (21:55 -0700) | ||
commit | f02153696fc319c3c6dba2c27a5f7aed98eec465 | |
tree | 1b17b91195c01dccf13d1d13c82447d5d559735d | tree | snapshot |
parent | 93d496a560cdcd4f72c8dee1b0b2efa324e1c3bb | commit | diff |
Alter sha1close() 3rd argument to request flush only
update=0 suppressed writing the final SHA-1 but was not used.
Now final=0 suppresses SHA-1 finalization, SHA-1 writing,
and closing -- in other words, only flush the buffer.
Signed-off-by: Dana L. How <danahow@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
update=0 suppressed writing the final SHA-1 but was not used.
Now final=0 suppresses SHA-1 finalization, SHA-1 writing,
and closing -- in other words, only flush the buffer.
Signed-off-by: Dana L. How <danahow@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
csum-file.c | diff | blob | history |