Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: don't escape tilde ('~') for http(s) URLs
[gitweb.git]
/
builtin-receive-pack.c
diff --git
a/builtin-receive-pack.c
b/builtin-receive-pack.c
index 2c0225c89a44a28150806608ea3956c44e27ef6f..7f9f134806766244bf1eb3de2de3a823a62b180a 100644
(file)
--- a/
builtin-receive-pack.c
+++ b/
builtin-receive-pack.c
@@
-236,7
+236,7
@@
static const char *update(struct command *cmd)
warning ("Allowing deletion of corrupt ref.");
old_sha1 = NULL;
}
- if (delete_ref(name, old_sha1)) {
+ if (delete_ref(name, old_sha1
, 0
)) {
error("failed to delete %s", name);
return "failed to delete";
}