diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-02-17 18:00:20 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-17 11:24:55 -0800 |
commit | 60294596ba6bf2f63506ffad60b9a94fc04612a1 (patch) | |
tree | 1a64454810ce15c926ecae61114cfec5489c605b /compat/setenv.c | |
parent | ref_transaction_create(): check that new_sha1 is valid (diff) | |
download | tgif-60294596ba6bf2f63506ffad60b9a94fc04612a1.tar.xz |
ref_transaction_delete(): check that old_sha1 is not null_sha1
It makes no sense to delete a reference that is already known not to
exist.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/setenv.c')
0 files changed, 0 insertions, 0 deletions