[Solved] Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Andrei Popescu
On Du, 16 ian 11, 22:08:21, Sven Joachim wrote: > > I see. Indeed, even replacing "!dir/" with "!dir/*" or "!dir/file3" in > Andrei's example does not persuade "git status -s" to mention the file. > This seems to be a bug indeed, taking it to g...@vger.kernel.org would be > good. Ah, didn't thin

Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Sven Joachim
On 2011-01-16 21:45 +0100, Boyd Stephen Smith Jr. wrote: > In <87aaj0vceg@turtle.gmx.de>, Sven Joachim wrote: >>On 2011-01-16 20:58 +0100, Boyd Stephen Smith Jr. wrote: >>> In <20110116160216.GA6914@think.homelan>, Andrei Popescu wrote: $ git init Initialized empty Git repository in /h

Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Boyd Stephen Smith Jr.
In <87aaj0vceg@turtle.gmx.de>, Sven Joachim wrote: >On 2011-01-16 20:58 +0100, Boyd Stephen Smith Jr. wrote: >> In <20110116160216.GA6914@think.homelan>, Andrei Popescu wrote: >>>$ git init >>>Initialized empty Git repository in /home/amp/Download/gitest/.git/ >>>$ touch dir/file3 >>>$ echo '*'

Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Sven Joachim
On 2011-01-16 20:58 +0100, Boyd Stephen Smith Jr. wrote: > In <20110116160216.GA6914@think.homelan>, Andrei Popescu wrote: >>$ git init >>Initialized empty Git repository in /home/amp/Download/gitest/.git/ >>$ touch dir/file3 >>$ echo '*' > .gitignore >>$ git status -s >>$ echo '!file1' >> .gitign

Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Boyd Stephen Smith Jr.
In <20110116160216.GA6914@think.homelan>, Andrei Popescu wrote: >$ git init >Initialized empty Git repository in /home/amp/Download/gitest/.git/ >$ touch dir/file3 >$ echo '*' > .gitignore >$ git status -s >$ echo '!file1' >> .gitignore >$ echo '!dir/' >> .gitignore >$ git status -s >?? file1 >$ >

Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Nate Bargmann
* On 2011 16 Jan 10:47 -0600, Tony van der Hoff wrote: > On 16/01/11 16:02, Andrei Popescu wrote: > >$ echo '!dir/'>> .gitignore > > > >Why is 'dir' still ignored? > > > Um, doesn't that mean "Don't ignore 'dir/', but ignore everything in it"? > have you tried 'dir/*'? The trailing * isn't even r

Re: [OT] trouble with .gitignore patterns

2011-01-16 Thread Tony van der Hoff
On 16/01/11 16:02, Andrei Popescu wrote: $ echo '!dir/'>> .gitignore Why is 'dir' still ignored? Um, doesn't that mean "Don't ignore 'dir/', but ignore everything in it"? have you tried 'dir/*'? -- Tony van der Hoff| mailto:t...@vanderhoff.org Buckinghamshire, England | -- To UNSUB

[OT] trouble with .gitignore patterns

2011-01-16 Thread Andrei Popescu
Hi, This has been a longstanding problem. This is actual copy-paste from the shell, if you spot any errors they are real. I read gitignore(5) and searched the net, but still don't get it :( $ git init Initialized empty Git repository in /home/amp/Download/gitest/.git/ $ mkdir dir ; touch file1