X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=refs.h;h=e1c5803f9a5aba0b6ba18f5a9bd5192cba661542;hb=3b6e73a3b18336cf123993b191e3fab6442bd5a3;hp=996d4ea54d02323e79f3a96241efd1cafdbfa727;hpb=54fad6614fc6b61ee6eb4a5b3daa7a2239019b49;p=git-core%2Fgit.git diff --git a/refs.h b/refs.h index 996d4ea54..e1c5803f9 100644 --- a/refs.h +++ b/refs.h @@ -346,6 +346,14 @@ int refs_pack_refs(struct ref_store *refs, unsigned int flags); #define REF_FORCE_CREATE_REFLOG 0x40 /* + * Flags that can be passed in to ref_transaction_update + */ +#define REF_TRANSACTION_UPDATE_ALLOWED_FLAGS \ + REF_ISPRUNING | \ + REF_FORCE_CREATE_REFLOG | \ + REF_NODEREF + +/* * Setup reflog before using. Fill in err and return -1 on failure. */ int refs_create_reflog(struct ref_store *refs, const char *refname,