diff options
Diffstat (limited to 'ops')
-rw-r--r-- | ops/besadii/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ops/besadii/main.go b/ops/besadii/main.go index bf0e707cb693..72bba769f5d6 100644 --- a/ops/besadii/main.go +++ b/ops/besadii/main.go @@ -151,10 +151,11 @@ func parseRefUpdates() ([]refUpdate, error) { update := refUpdate{ old: fragments[0], new: fragments[1], - name: strings.TrimPrefix(fragments[2], branchPrefix), + name: fragments[2], } if strings.HasPrefix(update.name, branchPrefix) && update.new != deletedBranch { + update.name = strings.TrimPrefix(update.name, branchPrefix) updates = append(updates, update) } } |