Commit cbaabcb
ref_transaction_commit(): provide better error messages
Now that lock_ref_sha1_basic() gives us back its error messages via a
strbuf, incorporate its error message into our error message rather
than emitting one error messages to stderr immediately and returning a
second to our caller.
Signed-off-by: Michael Haggerty <[email protected]>1 parent abeef9c commit cbaabcb
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3838 | 3838 | | |
3839 | 3839 | | |
3840 | 3840 | | |
| 3841 | + | |
| 3842 | + | |
3841 | 3843 | | |
3842 | 3844 | | |
3843 | 3845 | | |
3844 | | - | |
3845 | | - | |
3846 | | - | |
3847 | | - | |
| 3846 | + | |
| 3847 | + | |
| 3848 | + | |
| 3849 | + | |
3848 | 3850 | | |
3849 | 3851 | | |
3850 | 3852 | | |
| |||
0 commit comments