Re: [PATCH] http-push: push <remote> :<branch> deletes remote branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux