projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.12.1
[platform/upstream/git.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index
c07fb17
..
42dc310
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)