diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-02-12 12:12:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-12 11:42:53 -0800 |
commit | 581d4e0cdbe9526c122b9d0835f951e478f82448 (patch) | |
tree | 3f8b75311288e5eec7879fcd87f2f7fc2b3334a7 /refs.h | |
parent | 18d0fec24027ac226dc2c4df2b955eef2a16462a (diff) | |
download | git-581d4e0cdbe9526c122b9d0835f951e478f82448.tar.gz |
refs: move REF_DELETING to refs.c
It is only used internally now. Document it a little bit better, too.
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 'refs.h')
-rw-r--r-- | refs.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -183,12 +183,10 @@ extern int peel_ref(const char *refname, unsigned char *sha1); * Flags controlling ref_transaction_update(), ref_transaction_create(), etc. * REF_NODEREF: act on the ref directly, instead of dereferencing * symbolic references. - * REF_DELETING: tolerate broken refs * - * Flags >= 0x100 are reserved for internal use. + * Other flags are reserved for internal use. */ #define REF_NODEREF 0x01 -#define REF_DELETING 0x02 /* * Setup reflog before using. Set errno to something meaningful on failure. |