Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Curious result from "git" completion
- X-seq: zsh-workers 31208
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Curious result from "git" completion
- Date: Thu, 4 Apr 2013 21:33:01 +0200
- Cc: zsh-workers@xxxxxxx
- 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==
- In-reply-to: <130404104417.ZM2767@torch.brasslantern.com>
- 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: <130404104417.ZM2767@torch.brasslantern.com>
- Sender: nikolai.weibull@xxxxxxxxx
On Thu, Apr 4, 2013 at 7:44 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> schaefer<502> git \'
> Completing alias
> '
> What's with the solitary single quote being completed as an alias?
I’d assume that something’s going wrong in __git_extract_aliases, but
I can’t reproduce it. Could the whole substitution in that function
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 the
> 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’re packing a tree.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author