[1] https://git-scm.com/docs/git-config#Documentation/git-config.txt-corelogAllRefUpdates > > if (forcing) > msg = xstrfmt("branch: Reset to %s", start_name); > @@ -630,7 +631,7 @@ void create_branch(struct repository *r, > if (!transaction || > ref_transaction_update(transaction, ref.buf, > &oid, forcing ? NULL : null_oid(), > - NULL, NULL, 0, msg, &err) || > + NULL, NULL, flags, msg, &err) || > ref_transaction_commit(transaction, &err)) > die("%s", err.buf); > ref_transaction_free(transaction); > -- > 2.46.0.421.g159f2d50e7.dirty >