zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Terbeck <ft@bewatermyfriend.org>
To: Philip Sequeira <phsequei@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: VCS_INFO functions break with setopt no_unset
Date: Wed, 23 Dec 2015 02:38:25 +0100	[thread overview]
Message-ID: <87egeekkq6.fsf@ft.bewatermyfriend.org> (raw)
In-Reply-To: <CAB_3nvqT89iskZ5wzQvUbMun7F80rsY4xJDmuiCp41=+baHomg@mail.gmail.com> (Philip Sequeira's message of "Mon, 7 Dec 2015 18:23:25 -0500")

Hi Philip,

Philip Sequeira wrote:
> With setopt no_unset in my config file, vcs_info fails with:
> VCS_INFO_maxexports:7: vcs: parameter not set

I just checked and this was not committed yet. So I am doing that now.

> The attached patch fixes it on my system, but I don't know if it's the
> best way to deal with the problem.

I always thought NO_UNSET was a rather weird setting; but I guess this
will do for now. If things get more complicated, we can always blast all
vcs_info functions with a stern "emulate -L zsh" on top of each
function.


Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925


      reply	other threads:[~2015-12-23  1:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07 23:23 Philip Sequeira
2015-12-23  1:38 ` Frank Terbeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egeekkq6.fsf@ft.bewatermyfriend.org \
    --to=ft@bewatermyfriend.org \
    --cc=phsequei@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).