From: Sverre Rabbelier Date: Fri, 16 Jan 2009 13:17:20 GMT Subject: Re: Weird behaviour of git status Message-ID: In-Reply-To: <2A29AD77-2B8D-4491-92C1-62F5FFFBB00F@wincent.com> On Fri, Jan 16, 2009 at 10:44, Wincent Colaiuta wrote: > "git status" shows you what would be committed if you ran "git commit" with > the same parameters. So in your example, the output for "git status ." is > exactly as you would expect. > > This is stated in the man page. This is one of the first things I stumbled on when I started using git. I often times wanted to do "git status -- pathspec" to see only what changed in a certain directory, rather than what would be committed if only the contents of that directory is committed. -- Cheers, Sverre Rabbelier