On Mon, Jun 30, 2025 at 7:21 AM brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> 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