diff options
| author | Ronnie Sahlberg <sahlberg@google.com> | 2014-07-16 11:20:36 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-10-15 10:47:21 -0700 |
| commit | 9ccc0c089667e6dccc888590376f138521784e5e (patch) | |
| tree | f51130e16fe3945b137f76ac5862a917ec45d6a9 /builtin/commit.c | |
| parent | refs.c: lock_ref_sha1_basic is used for all refs (diff) | |
| download | git-9ccc0c089667e6dccc888590376f138521784e5e.tar.gz git-9ccc0c089667e6dccc888590376f138521784e5e.zip | |
wrapper.c: add a new function unlink_or_msg
This behaves like unlink_or_warn except that on failure it writes the message
to its 'err' argument, which the caller can display in an appropriate way or
ignore.
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
