From: Johannes Schindelin Date: Mon, 18 Feb 2008 17:34:45 GMT Subject: Re: [PATCH] http-push: push : deletes remote branch Message-ID: In-Reply-To: <20080218155546.GA8934@localhost> Hi, On Mon, 18 Feb 2008, Clemens Buchacher wrote: > diff --git a/http-push.c b/http-push.c > index f9b77d6..e98c52f 100644 > --- a/http-push.c > +++ b/http-push.c > @@ -2138,6 +2138,8 @@ static int delete_remote_branch(char *pattern, int force) > > /* Send delete request */ > fprintf(stderr, "Removing remote branch '%s'\n", remote_ref->name); > + if (dry_run) > + return 0; Good catch. Thanks for the patch, I think it good. Now, if we only had automated tests... ;-) Ciao, Dscho