From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24113 invoked by alias); 19 Mar 2011 13:20:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28922 Received: (qmail 23823 invoked from network); 19 Mar 2011 13:20:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at benizi.com designates 64.130.10.15 as permitted sender) Date: Sat, 19 Mar 2011 09:19:37 -0400 (EDT) From: "Benjamin R. Haskell" To: Nikolai Weibull cc: Frank Terbeck , zsh-workers@zsh.org Subject: Re: [PATCH 3/4] Fix git-branch -[dD] -r completion In-Reply-To: Message-ID: References: <1300484112-9392-1-git-send-email-now@bitwi.se> <1300484112-9392-4-git-send-email-now@bitwi.se> <87y64cgj4r.fsf@ft.bewatermyfriend.org> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463810530-743928683-1300540802=:22141" ---1463810530-743928683-1300540802=:22141 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Sat, 19 Mar 2011, Nikolai Weibull wrote: > On Fri, Mar 18, 2011 at 23:26, Frank Terbeck wrote: >> Hm, with this patch, this: >> >> % git branch -d -r >> >> works. But this: >> >> % git -r -d >> >> doesn't. >> >> I suppose, that's not intentional? > > Well, it depends on what you’re after. Writing -r first hints that > you want to list branches, not delete them. If you look at the > synopsis in the man page, that’s how I’ve done it. Does anyone have a > strong opinion on how this should be done? It should complete remote branches in both cases, since git accepts remote branch(es) to delete in both cases. -- Best, Ben ---1463810530-743928683-1300540802=:22141--