Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
run-command: add hint when a hook is ignored
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index 5aa9244eb24d95717f2b20e207266c289c925757..00ec04e7a5f9e90b758855a16f420324ee158739 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-718,7
+718,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