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

Re: [PATCH] Expand the rename(2) workaround in mingw to cover case change in filename

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 8, 2009, 22:00 UTC
Message-ID
<alpine.DEB.1.00.0906082359320.26154@pacific.mpi-cbg.de>
In-Reply-To
<alpine.DEB.1.00.0906082355350.26154@pacific.mpi-cbg.de>
Hi,
On Mon, 8 Jun 2009, Johannes Schindelin wrote:
Show 16 quoted lines
> On Mon, 8 Jun 2009, Alex Riesen wrote:
> 
> > Windows, being a case-confused operating system, sometimes has
> > problems renaming directory entries with only change in the case
> > of their characters. Try to work the problem around by using an
> > intermediate file.
> > 
> > ---
> > 
> > NOT TESTED. Can't. My Windows broke again. Not even compile-tested.
> 
> Yes, that is pretty easy to see as you first used pold/pnew and then 
> src/dst.
> 
> I minimally fixed up your patch (it now uses strbuf), and added a 
> test-case.
I probably should have mentioned that you can see it here:
http://repo.or.cz/w/git/mingw/4msysgit.git?a=shortlog;h=refs/heads/work/rename

Ciao, Dscho

Previous: Johannes SchindelinNext: Alex Riesen
Message 3 of 7 in “Expand the rename(2) workaround in mingw to cover case change in filename”
  1. Expand the rename(2) workaround in mingw to cover case change in filenameAlex Riesen, Jun 8, 2009
  2. Johannes SchindelinJun 8, 2009
  3. Johannes SchindelinJun 8, 2009
  4. Alex RiesenJun 8, 2009
  5. Johannes SixtJun 9, 2009
  6. Alex RiesenJun 9, 2009
  7. Johannes SchindelinJun 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.