Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/parse-config-key-cleanup' into maint
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index c07fb17fb70bdb3cdf3ae9ab23196af9a0b7ad1b..42dc3106d2fae1976dcfdfbf264a1a9ed96a71b6 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-259,7
+259,7
@@
void set_git_work_tree(const char *new_work_tree)
return;
}
git_work_tree_initialized = 1;
- work_tree = real_pathdup(new_work_tree);
+ work_tree = real_pathdup(new_work_tree
, 1
);
}
const char *get_git_work_tree(void)