From 8e1246e7388313779e93ce6d58e45da3eb64239e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Feb 2013 00:00:00 +0000 Subject: Allow deleting remote refs --- git-remote-gcrypt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'git-remote-gcrypt') diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 49fed5f..be3a4a7 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -433,6 +433,7 @@ do_push() # file's hash. The manifest is updated with the pack id. # The manifest is encrypted. local remote_has= remote_want= prefix_= suffix_= line_= pack_id= key_= + del_hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ensure_connected check_recipients @@ -459,13 +460,15 @@ do_push() Branchlist=$(append "$Branchlist" \ "$(safe_git_rev_parse "$prefix_") $suffix_") else - : # FIXME delete branch + # Mark branch for deletion + Branchlist=$(append "$Branchlist" "$del_hash $suffix_") fi done <