summaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-26 23:13:42 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-26 23:13:43 +0900
commita1598010f775d82b5adf12c29d0f5bc9b41434c6 (patch)
treea93502da91e1eadbd491b62f12ed30beaf3ba402 /refs
parentMerge branch 'tb/clone-case-smashing-warning-test' (diff)
parentfiles-backend.c: fix build error on Solaris (diff)
downloadtgif-a1598010f775d82b5adf12c29d0f5bc9b41434c6.tar.xz
Merge branch 'nd/per-worktree-ref-iteration'
Build fix. * nd/per-worktree-ref-iteration: files-backend.c: fix build error on Solaris
Diffstat (limited to 'refs')
-rw-r--r--refs/files-backend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/refs/files-backend.c b/refs/files-backend.c
index 9183875dad..dd8abe9185 100644
--- a/refs/files-backend.c
+++ b/refs/files-backend.c
@@ -180,7 +180,8 @@ static void files_reflog_path(struct files_ref_store *refs,
break;
case REF_TYPE_OTHER_PSEUDOREF:
case REF_TYPE_MAIN_PSEUDOREF:
- return files_reflog_path_other_worktrees(refs, sb, refname);
+ files_reflog_path_other_worktrees(refs, sb, refname);
+ break;
case REF_TYPE_NORMAL:
strbuf_addf(sb, "%s/logs/%s", refs->gitcommondir, refname);
break;