Merge branch 'hn/refs-ref-log-only-bit'

A bit of API reshuffling to make sure stuff common to all backends
are not defined only in files backend.

* hn/refs-ref-log-only-bit:
  refs: move REF_LOG_ONLY to refs-internal.h
This commit is contained in:
Junio C Hamano 2020-09-18 17:58:01 -07:00
commit 711f5b3ce2
2 changed files with 7 additions and 7 deletions

View File

@ -38,13 +38,6 @@
*/
#define REF_NEEDS_COMMIT (1 << 6)
/*
* Used as a flag in ref_update::flags when we want to log a ref
* update but not actually perform it. This is used when a symbolic
* ref update is split up.
*/
#define REF_LOG_ONLY (1 << 7)
/*
* Used as a flag in ref_update::flags when the ref_update was via an
* update to HEAD.

View File

@ -31,6 +31,13 @@ struct ref_transaction;
*/
#define REF_HAVE_OLD (1 << 3)
/*
* Used as a flag in ref_update::flags when we want to log a ref
* update but not actually perform it. This is used when a symbolic
* ref update is split up.
*/
#define REF_LOG_ONLY (1 << 7)
/*
* Return the length of time to retry acquiring a loose reference lock
* before giving up, in milliseconds: