From: Caleb Marchent <cmarchent@aminocom.com>
To: git@vger.kernel.org
Subject: Re: Interpretation of '/' changed sparse-checkout
Date: Fri, 25 May 2012 10:21:10 +0000 (UTC) [thread overview]
Message-ID: <loom.20120525T120226-506@post.gmane.org> (raw)
In-Reply-To: 20120524142858.GA10938@do
Nguyen Thai Ngoc Duy <pclouds <at> gmail.com> writes:
>
> As a user I agree that "/" should mean "everything under the sky" and
> your use case should work (i.e. it is broken in 1.7.10.2). If you can
> build git, you can try the patch below. I'll submit a patch for
> inclusion to git later (perhaps with optimization for this special case).
>
Many Thanks Duy!, that patch works so please do submit the patch.
That just leaves the other issue I noted in my original posting - if I
exclude a path from the top-level with a 1.7.2.5 format sparse-checkout
file, git 1.7.10.2 will exclude a sub-directory with the same name:
/
!exclude/
Unfortunately (for me), I think this is correct behaviour of 1.7.10.2
because in 1.7.10.2 you can now do:
/
!/exclude/
/exlucde/reinclude/
which makes sense and correctly excludes "/exclude", but not
"/exclude/reinclude/exclude". The flexibility to have:
/
!CVS/
or something like that is required; so I don't believe should be changed?
prev parent reply other threads:[~2012-05-25 10:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 13:40 Interpretation of '/' changed sparse-checkout Caleb Marchent
2012-05-23 14:09 ` Caleb Marchent
2012-05-24 14:28 ` Nguyen Thai Ngoc Duy
2012-05-25 10:21 ` Caleb Marchent [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=loom.20120525T120226-506@post.gmane.org \
--to=cmarchent@aminocom.com \
--cc=git@vger.kernel.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.
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).