refs: rename constant REF_NODEREF
to REF_NO_DEREF
Even after working with this code for years, I still see this constant name as "ref node ref". Rename it to make it's meaning clearer. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
5ac95fee3d
commit
91774afcc3
@ -2151,7 +2151,7 @@ static void am_abort(struct am_state *state)
|
||||
has_curr_head ? &curr_head : NULL, 0,
|
||||
UPDATE_REFS_DIE_ON_ERR);
|
||||
else if (curr_branch)
|
||||
delete_ref(NULL, curr_branch, NULL, REF_NODEREF);
|
||||
delete_ref(NULL, curr_branch, NULL, REF_NO_DEREF);
|
||||
|
||||
free(curr_branch);
|
||||
am_destroy(state);
|
||||
|
Reference in New Issue
Block a user