Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add per-repository eol normalization
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 6963fbea43e6420f5f8dafc5b94fb5c27de6ffd2..b60a1ff64bdc5e5d957b0725c59c4a02ff15fdeb 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-461,7
+461,7
@@
static int git_default_core_config(const char *var, const char *value)
if (!strcmp(var, "core.autocrlf")) {
if (value && !strcasecmp(value, "input")) {
- auto_crlf =
-1
;
+ auto_crlf =
AUTO_CRLF_INPUT
;
return 0;
}
auto_crlf = git_config_bool(var, value);