diff options
author | Nick Hengeveld <nickh@reactrix.com> | 2006-03-20 10:31:06 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-20 14:38:47 -0800 |
commit | 3dfaf7bcfd116ac180df8405e700a20d7159702b (patch) | |
tree | 5753bbf4bee0abf3c18b6161c91e2d39f35f2761 /tree.c | |
parent | 1fa7a68f4bf1d21bf6693f1d9a416b6a690efe52 (diff) | |
download | git-3dfaf7bcfd116ac180df8405e700a20d7159702b.tar.gz git-3dfaf7bcfd116ac180df8405e700a20d7159702b.tar.xz |
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>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions