doc: add note about ignoring '--no-create-reflog'
commit67c70bd930538890d8eccace72fb0e0a0e565447
authorCornelius Weig <cornelius.weig@tngtech.com>
Wed, 1 Feb 2017 22:07:27 +0000 (1 23:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2017 23:53:40 +0000 (1 15:53 -0800)
treefd0a79296f502068f0ae7f2f9f2c8b478e86a245
parentb1421a43d5e28d71dc89b99877c3fbcb845aae08
doc: add note about ignoring '--no-create-reflog'

The commands git-branch and git-tag accept the '--create-reflog'
option, and create reflog even when core.logallrefupdates
configuration is explicitly set not to.

On the other hand, the negated form '--no-create-reflog' is accepted
as a valid option but has no effect (other than overriding an
earlier '--create-reflog' on the command line). This silent noop may
puzzle users.  To communicate that this is a known limitation, add a
short note in the manuals for git-branch and git-tag.

Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
Documentation/git-tag.txt