From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 628 invoked by alias); 4 Apr 2013 19:33:13 -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: 31208 Received: (qmail 17642 invoked from network); 4 Apr 2013 19:33:10 -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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.210.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KmHQbx77roNYm/wrFHsoKcPxcXD8BcfFBp7h0riOpEs=; b=xASnZC9TOM9IS5W+PH/8kg+u4o1uw9LRuKpjmDAW7YkWi9MW3ONWU0Th9GFNAHDasP u6mZLQndMuRr7RvRuff/cTs9ORj2N55MrG7wlWNvSZaD+xQ23/Aq5QVCOz2P8k1hzgcv X23w7NXEiB9CG0Pk7pZxEHHZM0H83n5bbjYrpQBRYDlxp6jXluxI902Ts/5UyMvCpkA+ dFS0TJh6DTPzXkV2f7q92PM1yzJreMPgwOmhm5egXvDa9NBK/Te22/RQkvSHjYtx4idw 89WGoy5jog8VSPShRkD59L5rP6+6xJ58QgGjwJcQltgD8+2mymuPmfxMZK//7gyGf4ri Z8xQ== MIME-Version: 1.0 X-Received: by 10.50.208.40 with SMTP id mb8mr10655890igc.91.1365103981177; Thu, 04 Apr 2013 12:33:01 -0700 (PDT) Sender: nikolai.weibull@gmail.com In-Reply-To: <130404104417.ZM2767@torch.brasslantern.com> References: <130404104417.ZM2767@torch.brasslantern.com> Date: Thu, 4 Apr 2013 21:33:01 +0200 X-Google-Sender-Auth: wsxJnEI_AUYJf4UZH_bfHPit7lU Message-ID: Subject: Re: Curious result from "git" completion From: Nikolai Weibull To: Bart Schaefer Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Apr 4, 2013 at 7:44 PM, Bart Schaefer w= rote: > schaefer<502> git \' > Completing alias > ' > What's with the solitary single quote being completed as an alias? I=E2=80=99d assume that something=E2=80=99s going wrong in __git_extract_al= iases, but I can=E2=80=99t reproduce it. Could the whole substitution in that functio= n somehow return an empty result that gets concatenated with the "\'" at the end? > I was attempting completion in hopes of answering the question, "What's t= he > simple git equivalent of 'cvs export'?" to which I still have no answer. What are you trying to achieve? A simple cp -a on the main directory followed by a rm -rf $DIR/.git would create a copy without any Git information. Otherwise, the archive sub-command may be of interest if you=E2=80=99re packing a tree.