From: Alex Riesen Date: Tue, 12 Oct 2010 12:51:05 GMT Subject: Re: git ls-files handles paths differently in Windows and Mac (probably Linux) Message-ID: In-Reply-To: <3C33A244-2449-4A3C-A8B5-2060CE61EE04@jetbrains.com> On Tue, Oct 12, 2010 at 14:14, Kirill Likhodedov wrote: > The behavior of ls-files is inconsistent in Windows and Mac. > > I want to see which files were changed in the specific directory of my working tree, so I call ls-files: >> git ls-files -douvm --exclude-standard -- MYDIR > Well, it is an... unconventional way to do that. May I suggest you consider using "git diff --name-status" or just "git status" next time? > Looks like a bug. Maybe a bug of porting Git to windows, but the behavior is the same on msys-git and cygwin-git. Maybe. Both ports share a fair amount of Windows-related code.