--prune flag on snapshot create is a TODO #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
snapshot.gocreateNamedSnapshot(), the prune-after-snapshot option is a stub:The flag is accepted but silently does nothing.
Ref: parent issue #1
@clawbot make a PR that fixes this
Fix submitted in PR #37. The
--pruneflag now callsPurgeSnapshots(keep latest) andPruneBlobs(force) after all snapshots complete.