refs: add REF_FORCE_CREATE_REFLOG flag
commit0f2a71d9923b4cf010ad0801eb71ee3666798204
authorDavid Turner <dturner@twopensource.com>
Tue, 21 Jul 2015 21:04:54 +0000 (21 17:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jul 2015 21:08:26 +0000 (21 14:08 -0700)
treed334f248df08120fa6816da33f37677732ed7161
parentafcb2e7a3b855887e79d1ee6d70ec80ab6456a64
refs: add REF_FORCE_CREATE_REFLOG flag

Add a flag to allow forcing the creation of a reflog even if the ref
name and core.logAllRefUpdates setting would not ordinarily cause ref
creation.

In a moment, we will use this to add options to git tag and git
update-ref to force reflog creation.

Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h