Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
branch: delete symref branch, not its target
[gitweb.git]
/
builtin
/
branch.c
diff --git
a/builtin/branch.c
b/builtin/branch.c
index 97c736115f6cadfde094228c6258ad19e3e6b06f..5e1e5b4d68d30e7287e94ff48ecea0b076722b4a 100644
(file)
--- a/
builtin/branch.c
+++ b/
builtin/branch.c
@@
-239,7
+239,7
@@
static int delete_branches(int argc, const char **argv, int force, int kinds,
continue;
}
- if (delete_ref(name, sha1,
0
)) {
+ if (delete_ref(name, sha1,
REF_NODEREF
)) {
error(remote_branch
? _("Error deleting remote branch '%s'")
: _("Error deleting branch '%s'"),