aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-patch.7.scd
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2023-11-24 16:03:11 +0100
committerRobin Jarry <robin@jarry.cc>2023-12-30 15:42:09 +0100
commit6f8f3d718c8b0303d16d9bfae2770a031678df59 (patch)
tree8211c92e944f3f6a53750cbcd930682f664e0f9b /doc/aerc-patch.7.scd
parentf8c9e7fff564667700c3dbc239d55db8fcd032a6 (diff)
downloadaerc-6f8f3d718c8b0303d16d9bfae2770a031678df59.tar.gz
patch/find: add find sub-cmd
Implement the :patch find command. Search and filter for a given commit by subject line in the current accout and current folder. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc-patch.7.scd')
-rw-r--r--doc/aerc-patch.7.scd10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/aerc-patch.7.scd b/doc/aerc-patch.7.scd
index 932bf8b1..7b5579a6 100644
--- a/doc/aerc-patch.7.scd
+++ b/doc/aerc-patch.7.scd
@@ -77,6 +77,16 @@ The following *:patch* sub-commands are supported:
If the _<commit-ish>_ is omitted, *aerc* will use the base commit of
the current project for the rebase.
+*:patch find* [*-f*] _<commit-hash>_
+ Searches the messages in the current folder of the current account for
+ the message associated with this _commit hash_ based on the subject line.
+
+ If a Message-ID is linked to a commit (i.e. when *:patch apply* was
+ used) then *find* will first perform a search for the Message-ID.
+
+ *-f*: Filter the message list instead of just showing the search
+ results. Only effective when search for Message-ID was not successful.
+
*:patch cd*
Changes the working directory to the root directory of the current
project.