summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-02-12 12:12:12 +0100
committerJunio C Hamano <gitster@pobox.com>2015-02-12 11:42:53 -0800
commit581d4e0cdbe9526c122b9d0835f951e478f82448 (patch)
tree3f8b75311288e5eec7879fcd87f2f7fc2b3334a7 /refs.h
parent18d0fec24027ac226dc2c4df2b955eef2a16462a (diff)
downloadgit-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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/refs.h b/refs.h
index afa3c4decd..9bf214880f 100644
--- a/refs.h
+++ b/refs.h
@@ -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.