bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use $(CC) instead of gcc to avoid relying on the host gcc.


From: Flávio Cruz
Subject: Re: [PATCH] Use $(CC) instead of gcc to avoid relying on the host gcc.
Date: Mon, 30 Jan 2023 22:42:04 -0500



On Mon, Jan 30, 2023 at 6:51 PM Guillem Jover <guillem@hadrons.org> wrote:
On Mon, 2023-01-30 at 12:43:09 +0300, Sergey Bugaev wrote:
> it would be nicer if you explicitly specified what source tree this
> patch is for, for instance: [PATCH glibc] or [PATCH gnumach] instead
> of just [PATCH]. (There is the --subject-prefix option in git
> format-patch for this.)

Right, and in case this is not obvious, you can configure it
permanently per repo with something like:

  $ git config format.subjectprefix "PATCH gnumach"

Thanks Guillem and Sergey! I ended up with a git alias to format patches with the subject prefix as [PATCH <repo>]:
git config --global alias.format-patch-repo '!git format-patch --subject-prefix="PATCH $(basename $(git rev-parse --show-toplevel))"'

Thanks,
Guillem

reply via email to

[Prev in Thread] Current Thread [Next in Thread]