author | Junio C Hamano <gitster@pobox.com> | |
Fri, 25 Feb 2011 23:43:25 +0000 (15:43 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 28 Feb 2011 07:29:03 +0000 (23:29 -0800) | ||
commit | ebcfb3791a53e0455bf8361046e3310993697a8e | |
tree | e9aa6131bcc77beab6d4a5f4665ab815e1f0fe5c | tree | snapshot |
parent | 7218a215efc7ae46f7ca8d82442f354e7ac06262 | commit | diff |
write_idx_file: introduce a struct to hold idx customization options
Remove two globals, pack_idx_default version and pack_idx_off32_limit,
and place them in a pack_idx_option structure. Allow callers to pass
it to write_idx_file() as a parameter.
Adjust all callers to the API change.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Remove two globals, pack_idx_default version and pack_idx_off32_limit,
and place them in a pack_idx_option structure. Allow callers to pass
it to write_idx_file() as a parameter.
Adjust all callers to the API change.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c | diff | blob | history | |
builtin/pack-objects.c | diff | blob | history | |
fast-import.c | diff | blob | history | |
pack-write.c | diff | blob | history | |
pack.h | diff | blob | history |