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

Re: Re [bug] pull --prune could not delete references due to lock file already exists error

From
Chris Torek <chris.torek@gmail.com>
Date
Jul 2, 2025, 04:50 UTC
Message-ID
<CAPx1Gveenh075k5W-KAKnyJKfdzMNL0iry-043mLB8rKZ_2wuQ@mail.gmail.com>
In-Reply-To
<aGKdICvmKlumU0ru@fruit.crustytoothpaste.net>

On Mon, Jun 30, 2025 at 7:21 AM brian m. carlson <sandals@crustytoothpaste.net> wrote: [regarding]

> > +                             if (ignore_case && prev && !strcasecmp(ref->next, prev))
> This won't work in the general case, since the two refs that match case
> insensitively aren't guaranteed to be adjacent.
Also worth mention: it's not just case-folding that matters.
On OS X (Macs), path names get "normalized" so that the names
   s c h combining-umlaut o n
and
   s c h umlaut-o n
refer to the *same* file or directory. On a typical Linux/Unix FS, they differ.
(I don't know what Windows does!)

So, if you have a "folder-full" of "pretty" German refnames, some spelled one way and some another, well...

(It's not clear to me what, if anything, Git should attempt to do here.)
Chris
Previous: Karthik NayakNext: Junio C Hamano
Message 12 of 14 in “[bug] pull --prune could not delete references due to lock file already exists error”
  1. ryenusJun 25, 2025
  2. Re [bug] pull --prune could not delete references due to lock file already exists errorK Jayatheerth, Jun 25, 2025
  3. brian m. carlsonJun 27, 2025
  4. JAYATHEERTH KJun 30, 2025
  5. Karthik NayakJun 30, 2025
  6. brian m. carlsonJun 30, 2025
  7. Junio C HamanoJun 30, 2025
  8. Patrick SteinhardtJul 1, 2025
  9. Junio C HamanoJul 1, 2025
  10. Patrick SteinhardtJul 2, 2025
  11. Karthik NayakJul 1, 2025
  12. Chris TorekJul 2, 2025
  13. Junio C HamanoJul 2, 2025
  14. JAYATHEERTH KJul 1, 2025

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.