summaryrefslogtreecommitdiff
path: root/Documentation/git-mktag.txt
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-06 12:47:27 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-06 14:22:24 -0800
commit06ce79152be8dab44b63faf4486d5c5c171434af (patch)
treee50a9b8420d480cd1fd6180dee94c9016335e972 /Documentation/git-mktag.txt
parentmktag: mark strings for translation (diff)
downloadtgif-06ce79152be8dab44b63faf4486d5c5c171434af.tar.xz
mktag: add a --[no-]strict option
Now that mktag has been migrated to use the fsck machinery to check its input, it makes sense to teach it to run in the equivalent of "git fsck"'s default mode. For cases where mktag is used to (re)create a tag object using data from an existing and malformed tag object, the validation may optionally have to be loosened. Teach the command to take the "--[no-]strict" option to do so. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-mktag.txt')
-rw-r--r--Documentation/git-mktag.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-mktag.txt b/Documentation/git-mktag.txt
index 79813ff8df..17a2603a60 100644
--- a/Documentation/git-mktag.txt
+++ b/Documentation/git-mktag.txt
@@ -11,6 +11,14 @@ SYNOPSIS
[verse]
'git mktag'
+OPTIONS
+-------
+
+--strict::
+ By default mktag turns on the equivalent of
+ linkgit:git-fsck[1] `--strict` mode. Use `--no-strict` to
+ disable it.
+
DESCRIPTION
-----------