Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/realpath-pathdup-fix'
[gitweb.git]
/
worktree.c
diff --git
a/worktree.c
b/worktree.c
index d7b911aac730001b466379c26faa390fb21a5bfb..fa7bc67a50a6d52116b0ca994b473668998f1c3f 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 = real_pathdup(arg);
+ path = real_pathdup(arg
, 1
);
for (; *list; list++)
if (!fspathcmp(path, real_path((*list)->path)))
break;