summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-08-25 16:00:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-25 16:00:07 -0700
commit1952e102b702b977d6bdfcee7cb48b843cb92049 (patch)
tree33dc912c82c724e819bbf735acd9ef362ed68dfc /http-push.c
parentSync with 1.7.6.1 (diff)
parentwhitespace: have SP on both sides of an assignment "=" (diff)
downloadtgif-1952e102b702b977d6bdfcee7cb48b843cb92049.tar.xz
Merge branch 'maint'
* maint: whitespace: have SP on both sides of an assignment "=" update-ref: whitespace fix
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 6e8f6d09ab..376331a76f 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 && i<MAXDEPTH; i++) {
+ for (i = 0; symref && i < MAXDEPTH; i++) {
if (!strcmp(remote_ref->name, symref))
return error("Remote branch %s is the current HEAD",
remote_ref->name);