aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pama/models
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-01-31 16:49:28 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-31 16:54:31 +0100
commitb285b894c3de7299452e860fc060b673af279261 (patch)
treed3f834db15ffe749708d734c0b6cd0645de7aabf /lib/pama/models
parentf16b33f752bbc3086d08ba8fde034de48ab1c6d6 (diff)
downloadaerc-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/models')
-rw-r--r--lib/pama/models/models.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pama/models/models.go b/lib/pama/models/models.go
index 9b21f0f5..5d1a9c44 100644
--- a/lib/pama/models/models.go
+++ b/lib/pama/models/models.go
@@ -70,9 +70,9 @@ type RevisionController interface {
Author(string) string
// Date returns the date for the provided commit hash.
Date(string) string
- // Remove removes the commit with the provided commit hash from the
+ // Drop removes the commit with the provided commit hash from the
// repository.
- Remove(string) error
+ Drop(string) error
// ApplyCmd returns a string with an executable command that is used to
// apply patches with the :pipe command.
ApplyCmd() string