* sparse checkout syntax does not work in git version 1.9.5.msysgit.0
@ 2015-02-23 22:41 samt
2015-02-25 14:06 ` Duy Nguyen
0 siblings, 1 reply; 2+ messages in thread
From: samt @ 2015-02-23 22:41 UTC (permalink / raw)
To: git
The platform is Windows server 2008
Git version is 1.9.5.msysgit.0
I have a repository and I want EVERYTHING in the repository to be checked
out into the workspace EXCEPT one directory. I have a machine with git
version 1.7.8.msysgit.0 and the following syntax in
.git/info/sparse-checkout file works fine:
/*
!engine/testdata/scenarios
This syntax does not seem to work with 1.9.5.msysgit.0 version. I have
tried to alter the syntax based on some suggestions on the internet, but
none of the combinations work. Git still attempts to checkout the directory
that I do not want. Does anyone know what syntax works for version
1.9.5.msysgit.0 ? Thanks.
--
View this message in context: http://git.661346.n2.nabble.com/sparse-checkout-syntax-does-not-work-in-git-version-1-9-5-msysgit-0-tp7625887.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sparse checkout syntax does not work in git version 1.9.5.msysgit.0
2015-02-23 22:41 sparse checkout syntax does not work in git version 1.9.5.msysgit.0 samt
@ 2015-02-25 14:06 ` Duy Nguyen
0 siblings, 0 replies; 2+ messages in thread
From: Duy Nguyen @ 2015-02-25 14:06 UTC (permalink / raw)
To: samt; +Cc: Git Mailing List
On Tue, Feb 24, 2015 at 5:41 AM, samt <sam777t@gmail.com> wrote:
> The platform is Windows server 2008
> Git version is 1.9.5.msysgit.0
>
> I have a repository and I want EVERYTHING in the repository to be checked
> out into the workspace EXCEPT one directory. I have a machine with git
> version 1.7.8.msysgit.0 and the following syntax in
> .git/info/sparse-checkout file works fine:
>
> /*
> !engine/testdata/scenarios
It works for me. I rebuilt v1.9.5.msysgit.0 on linux and tested that
version. I changed line ending to cr/lf and it was still ok. Are you
sure there's no trailing spaces in that file? Maybe you can copy that
file to another test repo, rename it to .gitignore and see if it
ignores files correctly.
> This syntax does not seem to work with 1.9.5.msysgit.0 version. I have
> tried to alter the syntax based on some suggestions on the internet, but
> none of the combinations work. Git still attempts to checkout the directory
> that I do not want. Does anyone know what syntax works for version
> 1.9.5.msysgit.0 ? Thanks.
--
Duy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-25 14:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23 22:41 sparse checkout syntax does not work in git version 1.9.5.msysgit.0 samt
2015-02-25 14:06 ` Duy Nguyen
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).