]> git.notmuchmail.org Git - notmuch/commit
CLI/git: add reset command
authorDavid Bremner <david@tethera.net>
Mon, 3 Apr 2023 10:22:48 +0000 (07:22 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 25 Jul 2024 08:39:50 +0000 (17:39 +0900)
commit30740296e7b211047936ade679e4a15e494ee91c
tree323f63f7cea64014f780e3dccf08734670c98bfb
parent6b9fccb2e241156ec3f3fcfa334c73df3cb1fb1e
CLI/git: add reset command

Sometimes merging is not what we want with tags; in particular it
tends to keep tags in the local repo that have been removed elsewhere.
This commit provides a new reset command; the reset itself is trivial,
but the work is to provide a safety check that uses the existing
--force and git.safe_fraction machinery.
notmuch-git.py
test/T850-git.sh