Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index 168dad615230d77d7719101b76b50b4f6fe02777..325fb56ad395c9b47dcbdea47b2833a4287198bc 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-1128,7
+1128,7
@@
char *get_relative_cwd(char *buffer, int size, const char *dir)
die_errno("can't find the current directory");
if (!is_absolute_path(dir))
- dir =
make_absolute
_path(dir);
+ dir =
real
_path(dir);
while (*dir && *dir == *cwd) {
dir++;