From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16306 invoked by alias); 22 Oct 2014 12:50:52 -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: 33502 Received: (qmail 20120 invoked from network); 22 Oct 2014 12:50:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Date: Wed, 22 Oct 2014 08:42:56 -0400 From: Aaron Schrab To: Frank Terbeck Cc: Daniel Shahaf , zsh-workers@zsh.org, Bart Schaefer , Manfred Lotz Subject: Re: vcs_info: Use =?utf-8?B?4oCYY29tbWFu?= =?utf-8?B?ZOKAmQ==?= prefix to call version control programs Message-ID: <20141022124256.GA615@pug.qqx.org> Mail-Followup-To: Frank Terbeck , Daniel Shahaf , zsh-workers@zsh.org, Bart Schaefer , Manfred Lotz References: <141021232256.ZM14769@torch.brasslantern.com> <1413970104-5500-1-git-send-email-ft@bewatermyfriend.org> <20141022105356.GB1692@tarsus.local2> <87h9ywb9by.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h9ywb9by.fsf@ft.bewatermyfriend.org> User-Agent: Mutt/1.5.22+86 (g0ed1b9d) (2014-03-12) At 14:03 +0200 22 Oct 2014, Frank Terbeck wrote: >That style could also be used to switch to a different binary, >depending on the current working copy. That's kind of what that style >was introduced for. But somebody using a wrapper for that would likely want it to be used for things other than vcs_info, and the style wouldn't help there. >About resolving this issue, I'm fine either way. I think Daniel has a >point about setting the ‘command’ style, if you're using a wrapper >function that's incompatible with the usual behaviour of a backend's >external program. Setting the command style would also work if the problematic wrapper is implemented as a stand-alone executable rather than as a shell function; using the `command` prefix only helps with incompatible functions.