author | Christian Couder <chriscool@tuxfamily.org> | |
Fri, 23 Jan 2009 09:07:46 +0000 (10:07 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Jun 2009 00:02:59 +0000 (17:02 -0700) | ||
commit | dae556bdb1e2ad6fb5eafe82e975bde01029fca9 | |
tree | 40c26f7e70c36888ae3197162d49280eb92c5a4f | tree | snapshot |
parent | cc400f50112a58471b992a54b1a05d99a8a82457 | commit | diff |
environment: add global variable to disable replacement
This new "read_replace_refs" global variable is set to 1 by
default, so that replace refs are used by default. But
reachability traversal and packing commands ("cmd_fsck",
"cmd_prune", "cmd_pack_objects", "upload_pack",
"cmd_unpack_objects") set it to 0, as they must work with the
original DAG.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This new "read_replace_refs" global variable is set to 1 by
default, so that replace refs are used by default. But
reachability traversal and packing commands ("cmd_fsck",
"cmd_prune", "cmd_pack_objects", "upload_pack",
"cmd_unpack_objects") set it to 0, as they must work with the
original DAG.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fsck.c | diff | blob | history | |
builtin-pack-objects.c | diff | blob | history | |
builtin-prune.c | diff | blob | history | |
builtin-unpack-objects.c | diff | blob | history | |
cache.h | diff | blob | history | |
environment.c | diff | blob | history | |
replace_object.c | diff | blob | history | |
t/t6050-replace.sh | diff | blob | history | |
upload-pack.c | diff | blob | history |