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

Re: Cygwin: problem with renaming and case

From
Sstreamlake@tiscali.it <streamlake@tiscali.it>
Date
Mar 21, 2008, 19:37 UTC
Message-ID
<47E40E8C.9040805@tiscali.it>
In-Reply-To
<37fcd2780803211157n15cec620gb5ab1d3e57ccd37b@mail.gmail.com>
Dmitry Potapov ha scritto:
Show 12 quoted lines
>
>
> I wonder do you really need to have two files on different branches whose
> name only differ by case, especially when you work on case insensitive
> filesystem? I suspect the answer is no. In this case, you can choose one
> policy for file naming and stick to it. For instance, that all names should
> be in low case except Makefile, or something like that. This policy can be
> enforced using pre-commit hook.
>
> Dmitry
>
>   

You're right, in fact it usually happens as the result of a mistake in naming a file between two branches or deleting a file and creating another one months later with the same name, not really a question of policies... :-)

@Linus As always, I'm absolutely not a windz fan (and this is demonstrated by the fact that I've been using cygwin for long time instead of the crappy win command prompt, and use linux every day for a few non-strictly-windz projects), but I 'must' use it if I want to work, there's no choice where I come from, and I can't change the market by myself, even if I strongly support linux as a substitute... So, given the fact that git is almost 'officially' supported at least under cygwin, I think it would be a good idea, if technically possible, to have a look at this kind of features. Not to mention the fact that having a broader audience for a project like git can be positive...

Thanks for your help, Frank

Previous: Dmitry PotapovNext: Brian Dessent
Message 8 of 11 in “Cygwin: problem with renaming and case”
  1. FrankMar 21, 2008
  2. Linus TorvaldsMar 21, 2008
  3. Avery PennarunMar 21, 2008
  4. Linus TorvaldsMar 21, 2008
  5. Junio C HamanoMar 22, 2008
  6. Steffen ProhaskaMar 22, 2008
  7. Dmitry PotapovMar 21, 2008
  8. streamlake@tiscali.itMar 21, 2008
  9. Brian DessentMar 21, 2008
  10. Nagy BalázsMar 22, 2008
  11. Linus TorvaldsMar 22, 2008

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.