From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22057 invoked from network); 22 Sep 2008 16:25:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Sep 2008 16:25:56 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 24813 invoked from network); 22 Sep 2008 16:25:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Sep 2008 16:25:47 -0000 Received: (qmail 28398 invoked by alias); 22 Sep 2008 16:25:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25713 Received: (qmail 28389 invoked from network); 22 Sep 2008 16:25:41 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Sep 2008 16:25:41 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 1E3FD80308B9 for ; Mon, 22 Sep 2008 18:25:15 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id AAFBA1040A1; Mon, 22 Sep 2008 16:25:10 +0000 (UTC) Date: Mon, 22 Sep 2008 16:25:10 +0000 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: vcs_info first-time failure Message-ID: <20080922162510.GA16877@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8308/Mon Sep 22 15:43:13 2008 on bifrost X-Virus-Status: Clean Someone complained that vcs_info didn't work on its first invocation. Index: Functions/VCS_Info/vcs_info =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/VCS_Info/vcs_info,v retrieving revision 1.1 diff -u -r1.1 vcs_info --- Functions/VCS_Info/vcs_info 19 Sep 2008 12:58:52 -0000 1.1 +++ Functions/VCS_Info/vcs_info 22 Sep 2008 16:23:13 -0000 @@ -88,3 +88,5 @@ VCS_INFO_set return 0 } + +vcs_info "$@"