Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
path: use strbuf_add_real_path()
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index b533ec938dd18320beb533969b0763992d4d3a85..bf096c411c300273f3490949179c893b993c67da 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-717,7
+717,7
@@
char *expand_user_path(const char *path, int real_home)
if (!home)
goto return_null;
if (real_home)
- strbuf_add
str(&user_path, real_path(home)
);
+ strbuf_add
_real_path(&user_path, home
);
else
strbuf_addstr(&user_path, home);
#ifdef GIT_WINDOWS_NATIVE