X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=376331a76fcde24e6828eba0b88fec26d93fe56f;hb=36ed1913e1d5de0930e59db6eeec3ccb2bd58bd9;hp=6e8f6d09abb6397f1782fa32d9d273fc4fc740fe;hpb=c9321a0e20f3461cf4ae07a8320aa80480107f24;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);