Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: convert delete_ref and refs_delete_ref to struct object_id
[gitweb.git]
/
builtin
/
branch.c
diff --git
a/builtin/branch.c
b/builtin/branch.c
index b67593288cf54084b569763ba2ef8e3b2cf9aa97..f5237541a224f97a2e35cd232b522de9a5b16ea7 100644
(file)
--- a/
builtin/branch.c
+++ b/
builtin/branch.c
@@
-257,7
+257,7
@@
static int delete_branches(int argc, const char **argv, int force, int kinds,
goto next;
}
- if (delete_ref(NULL, name, is_null_oid(&oid) ? NULL :
oid.hash
,
+ if (delete_ref(NULL, name, is_null_oid(&oid) ? NULL :
&oid
,
REF_NODEREF)) {
error(remote_branch
? _("Error deleting remote-tracking branch '%s'")