Re: git ls-files handles paths differently in Windows and Mac (probably Linux)
- From
Kirill Likhodedov <kirill.likhodedov@jetbrains.com>
- Date
- Oct 12, 2010, 13:24 UTC
- Message-ID
- <60B60680-78BD-4FFF-8472-8C853956CB1A@jetbrains.com>
- In-Reply-To
- <4CB45E86.2030703@viscovery.net>
Hannes,
how did you figure that? I mean - which tool did you use to see which files are accessed in Linux?
12.10.2010, в 17:11, Johannes Sixt написал(а):
Show 14 quoted lines
> Am 10/12/2010 14:14, schrieb Kirill Likhodedov: >> 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
---------------------------------- Kirill Likhodedov JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"