Re: git ls-files handles paths differently in Windows and Mac (probably Linux)
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 12, 2010, 13:11 UTC
- Message-ID
- <4CB45E86.2030703@viscovery.net>
- In-Reply-To
- <3C33A244-2449-4A3C-A8B5-2060CE61EE04@jetbrains.com>
Am 10/12/2010 14:14, schrieb Kirill Likhodedov:
Show 8 quoted lines
> 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 > > On Mac (and probably on Linux) git inspects the content of MYDIR and > gives me the status of not-indexed changes in this directory. On > Windows git gives the same result (only changes in MYDIR), but it scans > the whole repository!
On Linux, this scans the whole repository, too. Therefore, at least the Windows version should not be *that* wrong. ;-)
-- Hannes