git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Using Git with windows

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Mar 6, 2009, 15:30 UTC
Message-ID
<37fcd2780903060730j396588c8v38c302bde3be4bca@mail.gmail.com>
In-Reply-To
<c115fd3c0903060638lfc52073nd40e0d7379d7f593@mail.gmail.com>
On Fri, Mar 6, 2009 at 5:38 PM, Tim Visher <tim.visher@gmail.com> wrote:
Show 6 quoted lines
>
> IMHO, Git under cygwin's pretty nice.  I tried using MSysGit as well
> and didn't feel like it was quite as good as just building Git under
> cygwin.  I also run Git on an Mac at home and while it's clearly
> faster, Git under Cygwin still beats the pants off of SVN under
> Cygwin.

If I am not mistaken Git 1.6.1 should work about twice faster under Cygwin than previous versions with such common operations as "git diff", "git status", because it avoids emulation of stat() in most common cases...

Show 6 quoted lines
>
>> But is there a way around this if i run a linux VM with Git running
>> and mount a windows ntfs partition ?
>
> Would this really be faster?  I don't have a whole lot of experience
> with virtualization, but isn't Cygwin 'basically' doing this already?

No, Cygwin works very differently... In some cases, Cygwin will work faster, but there are operations that are very costly under Cygwin such as fork(). So, what is faster depends on what you do, and there are many other factors here such available memory or present some antivirus programs, which can kill performance... But, in general, if you work on Windows, it makes much more sense to Cygwin or MSysGit than running Git under VmWare...

Dmitry
Previous: Tim VisherNext: Pascal Obry
Message 5 of 10 in “Using Git with windows”
  1. Tariq HassanenMar 6, 2009
  2. John ChapmanMar 6, 2009
  3. Johannes SchindelinMar 6, 2009
  4. Tim VisherMar 6, 2009
  5. Dmitry PotapovMar 6, 2009
  6. Pascal ObryMar 7, 2009
  7. Pascal ObryMar 7, 2009
  8. Robin RosenbergMar 7, 2009
  9. Pascal ObryMar 7, 2009
  10. Ramsay JonesMar 9, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.