Re: [git-users] git clean vs git status re .gitignore

2014-08-22 Thread Paul Smith
On Fri, 2014-08-22 at 21:05 +0200, Magnus Therning wrote: > On Fri, Aug 22, 2014 at 07:41:46AM -0400, Paul Smith wrote: > > On Fri, 2014-08-22 at 10:05 +0200, Magnus Therning wrote: > > > So, it could be argued it does what it says, it removes all *files* > > > ignored by git, not ignored *folders*

Re: [git-users] git clean vs git status re .gitignore

2014-08-22 Thread Magnus Therning
On Fri, Aug 22, 2014 at 07:41:46AM -0400, Paul Smith wrote: > On Fri, 2014-08-22 at 10:05 +0200, Magnus Therning wrote: > > On Thu, Aug 21, 2014 at 10:16:08PM -0400, Paul Smith wrote: > > >>> Does it seem incorrect to anyone else that "git clean -X" doesn't > > >>> delete all the files in your work

Re: [git-users] git clean vs git status re .gitignore

2014-08-22 Thread Philip Oakley
From: "Paul Smith" Sent: Friday, August 22, 2014 12:41 PM Subject: Re: [git-users] git clean vs git status re .gitignore On Fri, 2014-08-22 at 10:05 +0200, Magnus Therning wrote: On Thu, Aug 21, 2014 at 10:16:08PM -0400, Paul Smith wrote: >>> Does it seem incorrect to an

Re: [git-users] git clean vs git status re .gitignore

2014-08-22 Thread Paul Smith
On Fri, 2014-08-22 at 10:05 +0200, Magnus Therning wrote: > On Thu, Aug 21, 2014 at 10:16:08PM -0400, Paul Smith wrote: > >>> Does it seem incorrect to anyone else that "git clean -X" doesn't > >>> delete all the files in your workspace that are considered ignored > >>> by "git status"? > > Well,

Re: [git-users] git clean vs git status re .gitignore

2014-08-22 Thread Magnus Therning
On Thu, Aug 21, 2014 at 10:16:08PM -0400, Paul Smith wrote: >>> Does it seem incorrect to anyone else that "git clean -X" doesn't >>> delete all the files in your workspace that are considered ignored >>> by "git status"? Well, reading the man page for `git clean` like a lawyer (my emphasis below)

Re: [git-users] git clean vs git status re .gitignore

2014-08-21 Thread Paul Smith
On Wed, 2014-08-20 at 06:50 +0200, Magnus Therning wrote: > Is there a specific reason you aren't using a separate build > directory? (AFAIU this is the convention for CMake.) Historical precedence. People are used to doing in-source builds and some of our scripting for making releases, etc. exp

Re: [git-users] git clean vs git status re .gitignore

2014-08-19 Thread Magnus Therning
On Tue, Aug 19, 2014 at 10:06:23PM -0400, Paul Smith wrote: > One of the platforms I need to build on is Windows and we're using > cmake to generate MSVC project files. MSVC allows you to build one > of a small number of different "types" of output, such as "Debug", > "Release", etc. Additionally

[git-users] git clean vs git status re .gitignore

2014-08-19 Thread Paul Smith
Hi all. I got pretty frustrated today by some unexpected behavior of git clean; I wonder if folks thought it was a real problem or just PEBKAC. One of the platforms I need to build on is Windows and we're using cmake to generate MSVC project files. MSVC allows you to build one of a small number