From: Wayne Davison <wayned@users.sourceforge.net>
To: Simon Ruderich <simon@ruderich.org>
Cc: Zsh Workers <zsh-workers@zsh.org>
Subject: Re: Updated _git completion (not attached)
Date: Mon, 28 Feb 2011 08:33:35 -0800 [thread overview]
Message-ID: <AANLkTinfE4x-qg=5BMX=OLTv53i2aFFAKSAZ-hcJTbY2@mail.gmail.com> (raw)
In-Reply-To: <20110228135851.GA23157@ruderich.org>
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
>
> On Sat, Feb 19, 2011 at 02:39:57PM +0100, Simon Ruderich wrote:
> - It seems like git checkout doesn't list only modified files but all
> files.
>
One thing to keep in mind is that it is right for it to list all
(known-to-git) files after a tag or hash, since the user may want to change
the file to a prior state. It is only the default "git checkout FILE" that
only really has meaning for changed files. And, I had thought for sure that
git didn't allow filenames after git checkout -f (and indeed, the current
completion code doesn't complete files after it), but in my testing of git
1.7.1, it accepted files to force w/o complaint.
For instance, "git checkout -f zsh-4.3.9 ChangeLog" changes to that version,
and if the file is tweaked and followed by "git checkout -f ChangeLog", the
zsh-4.3.9 content is restored. In both cases it seems to me that the -f was
superfluous, but allowed (since the commands do the same thing w/o the -f).
..wayne..
next prev parent reply other threads:[~2011-02-28 16:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-24 20:34 Nikolai Weibull
2011-02-19 13:39 ` Simon Ruderich
2011-02-21 14:34 ` Simon Ruderich
2011-02-27 3:45 ` Wayne Davison
2011-02-27 7:47 ` Frank Terbeck
2011-02-27 12:03 ` Nikolai Weibull
2011-02-27 12:25 ` Nikolai Weibull
2011-02-28 13:58 ` Simon Ruderich
2011-02-28 16:33 ` Wayne Davison [this message]
2011-02-28 17:07 ` Nikolai Weibull
2011-02-28 17:21 ` Mikael Magnusson
2011-02-28 20:32 ` Simon Ruderich
2011-02-28 20:58 ` Frank Terbeck
2011-03-04 12:57 ` Frank Terbeck
2011-03-18 20:34 ` Nikolai Weibull
2011-03-18 20:43 ` Frank Terbeck
2011-03-18 21:09 ` Nikolai Weibull
2011-03-18 21:18 ` Frank Terbeck
2011-03-20 2:24 ` Johan Sundström
2011-03-20 8:05 ` Submitting patches [was: Re: Updated _git completion (not attached)] Frank Terbeck
2011-03-20 8:47 ` Bart Schaefer
2011-03-20 15:41 ` Benjamin R. Haskell
2011-03-20 17:50 ` Bart Schaefer
2011-03-20 15:34 ` Benjamin R. Haskell
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='AANLkTinfE4x-qg=5BMX=OLTv53i2aFFAKSAZ-hcJTbY2@mail.gmail.com' \
--to=wayned@users.sourceforge.net \
--cc=simon@ruderich.org \
--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).