aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-06-23 09:30:45 -0300
committerDavid Bremner <david@tethera.net>2022-07-07 07:05:55 -0300
commitbf5eacbe7e5b852e030e6a05469dbc9eae48535e (patch)
tree87a9c95e8f7bec76db40c0e1b0115fcb2b769ebc /doc
parent6219e7380ae34cc0c8142f4174bee3cde9bf9662 (diff)
CLI/git: add --format-version argument to init subcommand
This is primarily intended to support testing upward compatibility with legacy repos.
Diffstat (limited to 'doc')
-rw-r--r--doc/man1/notmuch-git.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/man1/notmuch-git.rst b/doc/man1/notmuch-git.rst
index 59d02fb4..ac1908b6 100644
--- a/doc/man1/notmuch-git.rst
+++ b/doc/man1/notmuch-git.rst
@@ -125,13 +125,19 @@ Fetch changes from the remote repository.
Show brief help for an `notmuch git` command.
-.. option:: init
+.. option:: init [--format-version=N]
Create an empty `notmuch git` repository.
This wraps 'git init' with a few extra steps to support subsequent
status and commit commands.
+ .. describe:: --format-version=N
+
+ Create a repo in format version N. By default :any:`notmuch-git`
+ uses the highest supported version, which is the best choice for
+ most use-cases.
+
.. option:: log [arg ...]
A wrapper for 'git log'.