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

Re: Odd Difference Between Windows Git and Standard Git

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 23, 2016, 15:08 UTC
Message-ID
<alpine.DEB.2.20.1605231700380.4449@virtualbox>
In-Reply-To
<6e4862b8-b5ab-ced4-29a0-bf975848e98f@gmail.com>
Hi Jon,
On Mon, 23 May 2016, Jon Forrest wrote:
Show 12 quoted lines
> On 5/23/2016 4:12 AM, Johannes Schindelin wrote:
> 
> > What we could do is to make the default config setting platform-dependent,
> > a la CRLF_NATIVE.
> >
> > I imagine that we would want this for core.filemode, core.ignorecase and
> > core.symlinks.
> >
> > What do you think?
> 
> Would this change have any bad effects when the same repo is shared
> by both Windows and *nix Git users over Dropbox or a shared filesystem?

Yes, if you have symbolic links in that repository. Likewise, if you have users who find it funny to add different files whose names only differ in their case, say, xt_DSCP.c and xt_dscp.c.

Also, if your Windows users want to add scripts, they will most likely not mark them executable and your Linux users will call them names (forgetting that they know just as little about the other platform as the developers they try to ridicule).

Lots of fun things to keep in mind when sharing the same working directory between Operating Systems.

But you said "when the same repo is shared"? Do you really mean the *repository*? If so, there is not a problem. Only if you add a working directory into the mix.

Ciao, Johannes

Previous: Jon ForrestNext: Junio C Hamano
Message 12 of 17 in “Odd Difference Between Windows Git and Standard Git”
  1. Jon ForrestMay 20, 2016
  2. Torsten BögershausenMay 20, 2016
  3. Jon ForrestMay 20, 2016
  4. Torsten BögershausenMay 20, 2016
  5. Jon ForrestMay 20, 2016
  6. Torsten BögershausenMay 20, 2016
  7. Junio C HamanoMay 20, 2016
  8. Torsten BögershausenMay 20, 2016
  9. Junio C HamanoMay 20, 2016
  10. Johannes SchindelinMay 23, 2016
  11. Jon ForrestMay 23, 2016
  12. Johannes SchindelinMay 23, 2016
  13. Junio C HamanoMay 23, 2016
  14. Torsten BögershausenMay 24, 2016
  15. Johannes SchindelinMay 24, 2016
  16. Torsten BögershausenMay 25, 2016
  17. Johannes SchindelinMay 25, 2016

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.