diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-06-22 16:02:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-22 13:17:09 -0700 |
commit | fc67a0825caaff4eb5d4afdcc626263c8d214f36 (patch) | |
tree | 96fb6e80fa7027e2668e2bd85300f56742ddb883 /wt-status.c | |
parent | remove_branches(): remove temporary (diff) | |
download | tgif-fc67a0825caaff4eb5d4afdcc626263c8d214f36.tar.xz |
delete_ref(): handle special case more explicitly
delete_ref() uses a different convention for its old_sha1 parameter
than, say, ref_transaction_delete(): NULL_SHA1 means not to check the
old value. Make this fact a little bit clearer in the code by handling
it in explicit, commented code rather than burying it in a conditional
expression.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
0 files changed, 0 insertions, 0 deletions