static int delete_tag(const char *name, const char *ref,
const unsigned char *sha1)
{
static int delete_tag(const char *name, const char *ref,
const unsigned char *sha1)
{
unsigned char object[20], prev[20];
char ref[PATH_MAX];
const char *object_ref, *tag;
unsigned char object[20], prev[20];
char ref[PATH_MAX];
const char *object_ref, *tag;
if (msg.given || msgfile) {
if (msg.given && msgfile)
die("only one -F or -m option is allowed.");
if (msg.given || msgfile) {
if (msg.given && msgfile)
die("only one -F or -m option is allowed.");