Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: optionally recurse into submodules
[gitweb.git]
/
worktree.c
diff --git
a/worktree.c
b/worktree.c
index f7869f8d6072c98c3e9be3387a9a3c19508e13ea..c90e0139855bd39343f262c557fd57daaa14650b 100644
(file)
--- a/
worktree.c
+++ b/
worktree.c
@@
-255,7
+255,7
@@
struct worktree *find_worktree(struct worktree **list,
return wt;
arg = prefix_filename(prefix, strlen(prefix), arg);
- path =
xstrdup(real_path(arg)
);
+ path =
real_pathdup(arg
);
for (; *list; list++)
if (!fspathcmp(path, real_path((*list)->path)))
break;