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

Re: [PATCH v2] futex_waitv.2: new page

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Feb 10, 2026, 15:54 UTC
Message-ID
<55bd6ad3-cd19-4839-a808-eceae802d3c8@app.fastmail.com>
In-Reply-To
<aYtAknObJpjszCaj@devuan>
On Tue, Feb 10, 2026, at 15:30, Alejandro Colomar wrote:
Show 42 quoted lines
> Hi!
>
> On 2026-02-10T15:17:55+0100, наб wrote:
>> Hi!
>>
>> On Mon, Feb 09, 2026 at 11:35:53PM +0100, Alejandro Colomar wrote:
>> > On 2026-02-07T23:00:49+0100, наб wrote:
>> > > Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
>> >
>> > For some reason, the patch doesn't want to apply.  I don't see anything
>> > obviously wrong, so it may be an issue in my side?
>> >
>> > 	Applying: futex_waitv.2: new page
>> > 	error: affected file 'man2/futex_waitv.2' is beyond a symbolic link
>> > 	error: man7/futex.7: does not exist in index
>> > 	Patch failed at 0001 futex_waitv.2: new page
>> > 	hint: Use 'git am --show-current-patch=diff' to see the failed patch
>> > 	hint: When you have resolved this problem, run "git am --continue".
>> > 	hint: If you prefer to skip this patch, run "git am --skip" instead.
>> > 	hint: To restore the original branch and stop patching, run "git am --abort".
>> > 	hint: Disable this message with "git config set advice.mergeConflict false"
>> > 	Press any key to continue...
>>
>> Hm, I did recently set
>>   $ git config diff.noprefix
>>   true
>> I didn't expect this to affect format-patch diffs
>> (since it doesn't affect diffs shown by git add -p),
>> or, if it did, I expected the designated consumer of format-patch
>> diffs (am) to understand this. perhaps not;
>> maybe -p0 to git am?
>>
>> A quick search yields
>>   https://lore.kernel.org/git/xmqqy1o5op1i.fsf@gitster.g/t/#eaa0323ec4eed441b37caf96e1b136529b298dbac
>> where you're in the thread and the maintainer says "queued" for a patch
>> that would ignore noprefix for format-patch for this reason precisely.
>> But clearly not, since my patches were with noprefix=true and came out -p0.
>
> Oh, that bites again!
>
> Junio, do you still have this queued?
> <https://lore.kernel.org/git/xmqqy1o5op1i.fsf@gitster.g/t/#m6f42ff4f0cb2d6dd1d68f12a533d04c822b68a80>

See 15108de2 (Merge branch 'jk/format-patch-ignore-noprefix', 2023-03-21).

An aside but `format.noprefix` is not a boolean like `diff.noprefix`. It will be enabled with any value.

Is it standard to indicate this with the existing “If set,”, perhaps? Or should it say “enabled with any value”?

(+Cc Peff)
    format.noprefix::
            If set, do not show any source or destination prefix in patches.
            This is equivalent to the `diff.noprefix` option used by `git
            diff` (but which is not respected by `format-patch`). Note that
            by setting this, the receiver of any patches you generate will
            have to apply them using the `-p0` option.
Previous: Alejandro ColomarNext: Alejandro Colomar
Message 2 of 9 in “Re: [PATCH v2] futex_waitv.2: new page”
  1. Alejandro ColomarFeb 10, 2026
  2. Kristoffer HaugsbakkFeb 10, 2026
  3. Alejandro ColomarFeb 10, 2026
  4. Jeff KingFeb 11, 2026
  5. Kristoffer HaugsbakkFeb 11, 2026
  6. Junio C HamanoFeb 11, 2026
  7. Junio C HamanoFeb 10, 2026
  8. Kristoffer HaugsbakkFeb 10, 2026
  9. Alejandro ColomarFeb 10, 2026

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.