Colin Walters ab200495a8 bin/prune: Add --only-branch
In 5c940987e768523ef1411b65bcaad09fba6befef / #646 we
added `--retain-branch-depth`; this adds a symmetric
`--only-branch` for the case where a repo owner just
wants to prune a specific branch.

The implementation here is pretty straightforward; we
just walk all refs and inject the equivalent of
`--retain-branch-depth=$ref=-1` if they're *not* in
`--only-branch`.

Closes: https://github.com/ostreedev/ostree/issues/1115

Closes: #1127
Approved by: jlebon
2017-09-18 17:20:38 +00:00
..
2017-07-21 15:45:27 +00:00
2017-09-18 17:20:38 +00:00
2017-09-18 17:09:34 +00:00
2017-09-18 17:09:34 +00:00
2017-07-21 15:45:27 +00:00
2017-09-14 15:04:42 +00:00