summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2006-08-15 10:23:48 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-15 21:22:20 -0700
commit96f1e58f524fac8607cfc38896b365b6e8365b51 (patch)
treeb30b39c8333a821b18c5a4313eda9d7e8ef2d844 /environment.c
parentc9c3470aec3a1d753ac1e5f21358f6374c1add95 (diff)
downloadgit-96f1e58f524fac8607cfc38896b365b6e8365b51.tar.gz
remove unnecessary initializations
[jc: I needed to hand merge the changes to the updated codebase, so the result needs to be checked.] Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/environment.c b/environment.c
index 87162b2572..e6bd0033b4 100644
--- a/environment.c
+++ b/environment.c
@@ -13,14 +13,14 @@ char git_default_email[MAX_GITNAME];
char git_default_name[MAX_GITNAME];
int use_legacy_headers = 1;
int trust_executable_bit = 1;
-int assume_unchanged = 0;
-int prefer_symlink_refs = 0;
-int log_all_ref_updates = 0;
+int assume_unchanged;
+int prefer_symlink_refs;
+int log_all_ref_updates;
int warn_ambiguous_refs = 1;
-int repository_format_version = 0;
+int repository_format_version;
char git_commit_encoding[MAX_ENCODING_LENGTH] = "utf-8";
int shared_repository = PERM_UMASK;
-const char *apply_default_whitespace = NULL;
+const char *apply_default_whitespace;
int zlib_compression_level = Z_DEFAULT_COMPRESSION;
int pager_in_use;
int pager_use_color = 1;