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:
Michael Haggerty
2017-11-05 09:42:06 +01:00
committed by Junio C Hamano
parent 5ac95fee3d
commit 91774afcc3
12 changed files with 40 additions and 40 deletions

View File

@ -9,7 +9,7 @@
/*
* The following flags can appear in `ref_update::flags`. Their
* numerical values must not conflict with those of REF_NODEREF and
* numerical values must not conflict with those of REF_NO_DEREF and
* REF_FORCE_CREATE_REFLOG, which are also stored in
* `ref_update::flags`.
*/
@ -119,7 +119,7 @@ struct ref_update {
struct object_id old_oid;
/*
* One or more of REF_NODEREF, REF_FORCE_CREATE_REFLOG,
* One or more of REF_NO_DEREF, REF_FORCE_CREATE_REFLOG,
* REF_HAVE_NEW, REF_HAVE_OLD, or backend-specific flags.
*/
unsigned int flags;