]> arthur.barton.de Git - bup.git/commit
tag-cmd.py: use git update-ref to delete tags
authorGabriel Filion <gabster@lelutin.ca>
Sat, 15 Nov 2014 22:06:08 +0000 (17:06 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 16 Nov 2014 19:34:22 +0000 (13:34 -0600)
commit970f82aa8936bf86c13228aeb5b4987ffae5bdec
treea5eb7f48b2963a187446add2b01c62a9b134c3f8
parent04da49b214ef6a43fb3790419ad914377a530c2b
tag-cmd.py: use git update-ref to delete tags

Sometimes tags can be elsewhere than in the refs/tags/ directory. This
can happen if git pack-refs --all was used.

The current code chokes on such a situation. Since git update-ref
already knows about this subtlety, let it handle the deletion.

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/tag-cmd.py
lib/bup/git.py