From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21739 invoked by alias); 17 Aug 2011 10:50:51 -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: 29701 Received: (qmail 29475 invoked from network); 17 Aug 2011 10:50:50 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.210.41 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JIgXQZf4A2PMcA85cCPdDUtayDmH+LBY+K4mkX8HMok=; b=yEBqtI8Gx09zlu9b+u1415ZK6t2OMakN+QnoqP79JnK/Pec8SEZp2tWLtjTueJqfGH wGoFoCzED3CURSaQ0FoYS3JTDpI8KnIGDeSs7tSt7DNFEslSbL7FZfHiU2ixXDHjFGA8 jVx8jOYI9/Zd6gMz8x1v3QFf7ooxxWdOkYtQw= MIME-Version: 1.0 Sender: nikolai.weibull@gmail.com In-Reply-To: References: Date: Wed, 17 Aug 2011 12:50:45 +0200 X-Google-Sender-Auth: iX6n__NhxJ6UQT1NkKM_VxZxfiE Message-ID: Subject: Re: [PATCH] git log --dirstat=20 --shortstat completion From: Nikolai Weibull To: Martin Luder Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Aug 17, 2011 at 11:32, Martin Luder wrote: > Hi > > I changed git log completion so it still completes branch names when > --dirstat=3D20 --shortstat options are present. > > I have to admit that I don=E2=80=99t really know what I am doing, I copie= d the > two lines from the git diff options function. Completion works now, thoug= h. It seems that git log should take git diff options. Adding a call to __git_setup_diff_options should do the trick. This has been applied to CVS.