Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/exec-path-coverity-workaround'
[gitweb.git]
/
worktree.c
diff --git
a/worktree.c
b/worktree.c
index 828fd7a0ad4243749acffb9ef7885e95b8bb2bd0..53b4771c04a2b9de15379fdd213f20f213b1be60 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;