diff options
author | Koni Marti <koni.marti@gmail.com> | 2024-01-31 16:49:28 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-01-31 16:54:31 +0100 |
commit | b285b894c3de7299452e860fc060b673af279261 (patch) | |
tree | d3f834db15ffe749708d734c0b6cd0645de7aabf /lib/pama/pama_test.go | |
parent | f16b33f752bbc3086d08ba8fde034de48ab1c6d6 (diff) | |
download | aerc-b285b894c3de7299452e860fc060b673af279261.tar.gz |
commands: rename patch remove to patch drop
Rename the :patch remove command to :patch drop to better express the
this operation is the counter-part to :patch apply.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/pama/pama_test.go')
-rw-r--r-- | lib/pama/pama_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pama/pama_test.go b/lib/pama/pama_test.go index 98258249..e07cbab6 100644 --- a/lib/pama/pama_test.go +++ b/lib/pama/pama_test.go @@ -96,7 +96,7 @@ func (c *mockRevctrl) Date(commit string) string { return "" } -func (c *mockRevctrl) Remove(commit string) error { +func (c *mockRevctrl) Drop(commit string) error { for i, s := range c.commitIDs { if s == commit { c.commitIDs = append(c.commitIDs[:i], c.commitIDs[i+1:]...) |