projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parse-remote and ls-remote clean-up.
[git.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index
ffe8a55
..
2e0797b
100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-15,6
+15,16
@@
static int use_size_cache;
int diff_rename_limit_default = -1;
int diff_rename_limit_default = -1;
+int git_diff_config(const char *var, const char *value)
+{
+ if (!strcmp(var, "diff.renamelimit")) {
+ diff_rename_limit_default = git_config_int(var, value);
+ return 0;
+ }
+
+ return git_default_config(var, value);
+}
+
static char *quote_one(const char *str)
{
int needlen;
static char *quote_one(const char *str)
{
int needlen;