Skip to content

Commit 584b8e8

Browse files
committed
SQUASH???
1 parent 162f978 commit 584b8e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

refs/files-backend.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3166,6 +3166,7 @@ static int files_init_db(struct ref_store *ref_store, struct strbuf *err)
31663166
/*
31673167
* Create .git/refs/{heads,tags}
31683168
*/
3169+
strbuf_reset(&sb);
31693170
files_ref_path(refs, &sb, "refs/heads");
31703171
safe_create_dir(sb.buf, 1);
31713172

0 commit comments

Comments
 (0)