Merge branch 'ps/reftable-repo-init-fix'
Clear the fallout from a fix for 2.44 regression. * ps/reftable-repo-init-fix: t0610: remove unused variable assignment refs/reftable: don't fail empty transactions in repo without HEAD
This commit is contained in:
@ -781,6 +781,7 @@ static int reftable_be_transaction_prepare(struct ref_store *ref_store,
|
||||
&head_referent, &head_type);
|
||||
if (ret < 0)
|
||||
goto done;
|
||||
ret = 0;
|
||||
|
||||
for (i = 0; i < transaction->nr; i++) {
|
||||
struct ref_update *u = transaction->updates[i];
|
||||
|
Reference in New Issue
Block a user