aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pama/revctrl/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pama/revctrl/git.go')
-rw-r--r--lib/pama/revctrl/git.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pama/revctrl/git.go b/lib/pama/revctrl/git.go
index 7be9de58..2a35754e 100644
--- a/lib/pama/revctrl/git.go
+++ b/lib/pama/revctrl/git.go
@@ -68,10 +68,10 @@ func (g git) Date(commit string) string {
return s
}
-func (g git) Remove(commit string) error {
+func (g git) Drop(commit string) error {
_, exitcode, err := g.do("rebase", "--onto", commit+"^", commit)
if exitcode > 0 {
- return fmt.Errorf("failed to remove commit %s", commit)
+ return fmt.Errorf("failed to drop commit %s", commit)
}
return err
}