From: Clemens Buchacher <drizzd@aon.at>
To: Steffen Jaeckel <steffen.jaeckel@stzedn.de>
Cc: git@vger.kernel.org
Subject: Re: Behavior of git ls-files
Date: Sat, 5 Mar 2011 09:47:33 +0100 [thread overview]
Message-ID: <20110305084733.GA3039@toss> (raw)
In-Reply-To: <691824945.20110304183831@stzedn.de>
On Fri, Mar 04, 2011 at 06:38:31PM +0100, Steffen Jaeckel wrote:
>
> Is the behavior of git ls-files correct or not?
Indeed, the behavior is not correct. It does not find any files
which are excluded only due to a directory exclude.
In the cases without -i we do not even have to look at files under
an ignored directory. So the matching rules are not applied
correctly in this case.
We have the same problem with git ls-files -i -o, unless you also
specify --directory (in which case, again, we do not need to look
at files under the ignored directory).
Clemens
prev parent reply other threads:[~2011-03-05 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-04 17:38 Behavior of git ls-files Steffen Jaeckel
2011-03-05 8:47 ` Clemens Buchacher [this message]
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=20110305084733.GA3039@toss \
--to=drizzd@aon.at \
--cc=git@vger.kernel.org \
--cc=steffen.jaeckel@stzedn.de \
/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.
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).