diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/update-ref.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/update-ref.c b/builtin/update-ref.c index aec9004207..88ab785ea0 100644 --- a/builtin/update-ref.c +++ b/builtin/update-ref.c @@ -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; |