Skip to content

Commit a159801

Browse files
committed
Merge branch 'nd/per-worktree-ref-iteration'
Build fix. * nd/per-worktree-ref-iteration: files-backend.c: fix build error on Solaris
2 parents 590e5b8 + 46c0eb5 commit a159801

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

refs/files-backend.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ static void files_reflog_path(struct files_ref_store *refs,
180180
break;
181181
case REF_TYPE_OTHER_PSEUDOREF:
182182
case REF_TYPE_MAIN_PSEUDOREF:
183-
return files_reflog_path_other_worktrees(refs, sb, refname);
183+
files_reflog_path_other_worktrees(refs, sb, refname);
184+
break;
184185
case REF_TYPE_NORMAL:
185186
strbuf_addf(sb, "%s/logs/%s", refs->gitcommondir, refname);
186187
break;

0 commit comments

Comments
 (0)