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

Re: using the same repo with different OS

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 25, 2007, 17:34 UTC
Message-ID
<Pine.LNX.4.63.0702251829530.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<906f26060702250913g41658be6mffea613f25f9a847@mail.gmail.com>
Hi,
On Sun, 25 Feb 2007, Stefano Spinucci wrote:
Show 5 quoted lines
> I have my repos on a USB key (fat32 fs) and I work with git under
> linux and windows (maybe also Solaris in the future).
> 
> Considering also the new MinGW port, should I use a different repo for 
> every OS I work with???

You don't need to. But remember that the stat informations are likely to be borked. For example, when you do a "git-status" on a sizable working tree on that stick, it will take a long, long time whenever you switch OSes. Basically the same amount of time as if git did not have an index!

> Are planned/expected OS-specific files in the repo preventing me to use 
> the same whenever I'm working???

It could be possible that the index is saved in a slightly different format, due to different alignment strategies. Maybe 64-bit vs 32-bit has differences there. I have no idea.

Ciao, Dscho

Previous: Stefano SpinucciNext: Junio C Hamano
Message 3 of 11 in “using the same repo with different OS”
  1. Stefano SpinucciFeb 25, 2007
  2. Stefano SpinucciFeb 25, 2007
  3. Johannes SchindelinFeb 25, 2007
  4. Junio C HamanoFeb 25, 2007
  5. Johannes SchindelinFeb 25, 2007
  6. Junio C HamanoFeb 25, 2007
  7. Stefano SpinucciFeb 28, 2007
  8. Shawn O. PearceFeb 28, 2007
  9. Stefano SpinucciMar 12, 2007
  10. Johannes SchindelinMar 12, 2007
  11. Stefano SpinucciMar 17, 2007

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.