Re: using the same repo with different OS
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Feb 28, 2007, 18:12 UTC
- Message-ID
- <20070228181251.GG5924@spearce.org>
- In-Reply-To
- <906f26060702281006l794173e8uea0f7174dd712e32@mail.gmail.com>
Stefano Spinucci <virgo977virgo@gmail.com> wrote:
> I noticed today that my notes about compiling Git on cygwin to work > with FAT32 (export NO_MMAP=1) on the Wiki page WindowsInstall were > removed.
That was me. NO_MMAP=1 is now the default on Cygwin.
> Than I'm asking how you'd setup repos to work on some linux/windows > machines, transferring data only with an USB disk.
Just create a bare repository on the USB stick and push/fetch to it. It won't have a checkout directory or an index, the two sticking points with mmap() on Windows and with a FAT32 filesystem being accessed through Git by both Linux and Windows.
-- Shawn.