Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
dir: recurse into untracked dirs for ignored files
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index 4cd20d70671532ec2f33cb32bf62e8c3a45d7e8f..2fdba76222b8f5744f1ae84fd11e72a7a3c115cf 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)