zsh-workers
 help / color / mirror / code / Atom feed
From: Nikolai Weibull <now@bitwi.se>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: Curious result from "git" completion
Date: Thu, 4 Apr 2013 21:33:01 +0200	[thread overview]
Message-ID: <CADdV=MuZ-=huvfn=ZbbXNTR2XQdK-z9A-++zrsj9JkW=LH+Y7g@mail.gmail.com> (raw)
In-Reply-To: <130404104417.ZM2767@torch.brasslantern.com>

On Thu, Apr 4, 2013 at 7:44 PM, Bart Schaefer <schaefer@brasslantern.com> 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.


  reply	other threads:[~2013-04-04 19:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 17:44 Bart Schaefer
2013-04-04 19:33 ` Nikolai Weibull [this message]
2013-04-05 15:19   ` Bart Schaefer
2013-04-05 17:26     ` Frank Terbeck
2013-04-05 17:54       ` [PATCH] _git: Handle zero defined aliases better Frank Terbeck
2013-04-05 20:06         ` Nikolai Weibull
2013-04-05 20:15           ` Frank Terbeck
2013-04-04 19:57 ` Curious result from "git" completion Frank Terbeck
2013-04-07 18:33   ` Bart Schaefer
2013-04-07 22:41     ` Aaron Schrab

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='CADdV=MuZ-=huvfn=ZbbXNTR2XQdK-z9A-++zrsj9JkW=LH+Y7g@mail.gmail.com' \
    --to=now@bitwi.se \
    --cc=schaefer@brasslantern.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).