author | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 May 2011 08:47:33 +0000 (01:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 May 2011 18:58:19 +0000 (11:58 -0700) | ||
commit | c4ce46fc7ac1b59372aa935e641ca15b12359f5b | |
tree | 000be1d69bef6c7129bdc97568d441e6b8e6615a | tree | snapshot |
parent | 9cedd16c62e12521f35b44e10bba80bfe261e69c | commit | diff |
index_fd(): turn write_object and format_check arguments into one flag
The "format_check" parameter tucked after the existing parameters is too
ugly an afterthought to live in any reasonable API.
Combine it with the other boolean parameter "write_object" into a single
"flags" parameter.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The "format_check" parameter tucked after the existing parameters is too
ugly an afterthought to live in any reasonable API.
Combine it with the other boolean parameter "write_object" into a single
"flags" parameter.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/hash-object.c | diff | blob | history | |
builtin/update-index.c | diff | blob | history | |
cache.h | diff | blob | history | |
notes-merge.c | diff | blob | history | |
read-cache.c | diff | blob | history | |
sha1_file.c | diff | blob | history |