diff options
| author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 07:42:58 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 11:54:42 -0700 |
| commit | 8bcd37482e95b47119f3a8f03a1c8ce5815594a3 (patch) | |
| tree | c37816ef45cb5947b880272c0f2c81c94ea923e1 /builtin/commit.c | |
| parent | refs.c: make update_ref_write update a strbuf on failure (diff) | |
| download | git-8bcd37482e95b47119f3a8f03a1c8ce5815594a3.tar.gz git-8bcd37482e95b47119f3a8f03a1c8ce5815594a3.zip | |
update-ref: use err argument to get error from ref_transaction_commit
Call ref_transaction_commit with QUIET_ON_ERR and use the strbuf that is
returned to print a log message if/after the transaction fails.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
