Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: git completion - pass on --git-dir option
- X-seq: zsh-workers 39558
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: git completion - pass on --git-dir option
- Date: Tue, 4 Oct 2016 17:26:23 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=xMm5WdR7OosGPqVsJfam3+y2kr4=; b=F1kuJl Ce+0qbC23hDlU++rZOZQjXC7dCb6yP4aUTIils+kmU513W744eZZygDSZaUCRhrQ vGVvqROWY7hTGVOxRB1Ycv6uP2UgWliE4HKFPe2XjwpH5AEzjuryNppoZ3dWlst3 WY/4C0HOF6tlO3Y+Szdjlqwe2FYXXNWM7sKgk=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=xMm5WdR7OosGPqVsJfam3+y2kr4=; b=GH7n7 L2XlyfMzSpGDRovzWPtPOuU5KVMKcwkYTJX3IVowgD9Va6hFlUZ6d4Alsp1dEJK/ /55WQt68+3anzZy+LgOAJ3ASzpdm6RO56ivp8XpilUEmJsu3MN6uvVcB/v1eaM82 6tlCGpKZKacxWrOlkoUZ3tO9caM8DZhxrnFBs4=
- In-reply-to: <80219.1475219575@hydra.kiddle.eu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <80219.1475219575@hydra.kiddle.eu>
Oliver Kiddle wrote on Fri, Sep 30, 2016 at 09:12:55 +0200:
> Various aspects of git completion don't work if the option --git-dir is
> used. This solves that by putting the value in $GIT_DIR.
>
> +++ b/Completion/Unix/Command/_git
> @@ -7484,7 +7484,7 @@ _git() {
> + (( $+opt_args[--git-dir] )) && local -x GIT_DIR=$opt_args[--git-dir]
Also for --work-tree/GIT_WORK_TREE?
There are other --option/ENVVAR pairs in git(1), but I don't know
whether it is important for them to get this treatment too.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author