aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-21 18:47:53 -0700
committerJunio C Hamano <gitster@pobox.com>2009-08-21 18:47:53 -0700
commitf00ecbe42b82f3c8e6a170074f2299487026e400 (patch)
treefca98c6ac1d4cde3d5e60d296b2fcae8caf7fc6b /environment.c
parent5e092b5bcea48c098af7000f888a2a0f16c9db77 (diff)
parent4e65b538acc97dd853e19a1692893f5fd47043e6 (diff)
downloadgit-f00ecbe42b82f3c8e6a170074f2299487026e400.tar.gz
git-f00ecbe42b82f3c8e6a170074f2299487026e400.tar.xz
Merge branch 'cc/replace'
* cc/replace: t6050: check pushing something based on a replaced commit Documentation: add documentation for "git replace" Add git-replace to .gitignore builtin-replace: use "usage_msg_opt" to give better error messages parse-options: add new function "usage_msg_opt" builtin-replace: teach "git replace" to actually replace Add new "git replace" command environment: add global variable to disable replacement mktag: call "check_sha1_signature" with the replacement sha1 replace_object: add a test case object: call "check_sha1_signature" with the replacement sha1 sha1_file: add a "read_sha1_file_repl" function replace_object: add mechanism to replace objects found in "refs/replace/" refs: add a "for_each_replace_ref" function
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 3cf88f58c..5de683784 100644
--- a/environment.c
+++ b/environment.c
@@ -39,6 +39,7 @@ int pager_use_color = 1;
const char *editor_program;
const char *excludes_file;
int auto_crlf = 0; /* 1: both ways, -1: only when adding git objects */
+int read_replace_refs = 1;
enum safe_crlf safe_crlf = SAFE_CRLF_WARN;
unsigned whitespace_rule_cfg = WS_DEFAULT_RULE;
enum branch_track git_branch_track = BRANCH_TRACK_REMOTE;