--- refs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/refs.c b/refs.c index 2e8bace..9a3dcfb 100644 --- a/refs.c +++ b/refs.c @@ -536,6 +536,7 @@ int dwim_log(const char *str, int len, unsigned char *sha1, char **log) static int is_per_worktree_ref(const char *refname) { + (void) skip_namespace(refname, &refname); return !strcmp(refname, "HEAD") || starts_with(refname, "refs/bisect/"); } -- 2.9.0