author | Nick Hengeveld <nickh@reactrix.com> | |
Mon, 20 Mar 2006 18:31:06 +0000 (10:31 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 20 Mar 2006 22:38:47 +0000 (14:38 -0800) | ||
commit | 3dfaf7bcfd116ac180df8405e700a20d7159702b | |
tree | 5753bbf4bee0abf3c18b6161c91e2d39f35f2761 | tree | snapshot |
parent | 1fa7a68f4bf1d21bf6693f1d9a416b6a690efe52 | commit | diff |
http-push: add support for deleting remote branches
Processes new command-line arguments -d and -D to remove a remote branch
if the following conditions are met:
- one branch name is present on the command line
- the specified branch name matches exactly one remote branch name
- the remote HEAD is a symref
- the specified branch is not the remote HEAD
- the remote HEAD resolves to an object that exists locally (-d only)
- the specified branch resolves to an object that exists locally (-d only)
- the specified branch is an ancestor of the remote HEAD (-d only)
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Processes new command-line arguments -d and -D to remove a remote branch
if the following conditions are met:
- one branch name is present on the command line
- the specified branch name matches exactly one remote branch name
- the remote HEAD is a symref
- the specified branch is not the remote HEAD
- the remote HEAD resolves to an object that exists locally (-d only)
- the specified branch resolves to an object that exists locally (-d only)
- the specified branch is an ancestor of the remote HEAD (-d only)
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-push.c | diff | blob | history |