X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=376331a76fcde24e6828eba0b88fec26d93fe56f;hb=aad2a07cfcdc89fd63bf28a2ac2873712fb25e43;hp=6e8f6d09abb6397f1782fa32d9d273fc4fc740fe;hpb=b81b758d5001c4ebab1a5b8202bb1b0f4cdf3391;p=git.git diff --git a/http-push.c b/http-push.c index 6e8f6d09a..376331a76 100644 --- a/http-push.c +++ b/http-push.c @@ -1655,7 +1655,7 @@ static int delete_remote_branch(const char *pattern, int force) return error("Remote HEAD is not a symref"); /* Remote branch must not be the remote HEAD */ - for (i=0; symref && iname, symref)) return error("Remote branch %s is the current HEAD", remote_ref->name);