Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pager_in_use: use git_env_bool()
[gitweb.git]
/
worktree.c
diff --git
a/worktree.c
b/worktree.c
index d633761575bff4811fa4f3f3822807b1f77f5ecb..0486e31ad4a5f5ee02813d06bf9a48e48e3667cb 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;