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.c | |
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.c')
-rw-r--r-- | refs.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -35,6 +35,12 @@ static unsigned char refname_disposition[256] = { }; /* + * Flag passed to lock_ref_sha1_basic() telling it to tolerate broken + * refs (i.e., because the reference is about to be deleted anyway). + */ +#define REF_DELETING 0x02 + +/* * Used as a flag to ref_transaction_delete when a loose ref is being * pruned. */ |