]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/update-ref.c
refs.c: remove the onerr argument to ref_transaction_commit
[thirdparty/git.git] / builtin / update-ref.c
index aec9004207d3d94cbd51f9590d50d500ef4ca05f..88ab785ea06118b9b84a73e2e0aa77f426e9b171 100644 (file)
@@ -366,8 +366,7 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix)
                if (end_null)
                        line_termination = '\0';
                update_refs_stdin();
-               if (ref_transaction_commit(transaction, msg, &err,
-                                          UPDATE_REFS_QUIET_ON_ERR))
+               if (ref_transaction_commit(transaction, msg, &err))
                        die("%s", err.buf);
                ref_transaction_free(transaction);
                return 0;