[PATCH libXfont 1/2] autogen: Set a default subject prefix for patches
Gioele Barabucci
gioele at svario.it
Thu May 19 07:58:27 UTC 2016
Am 18.05.2016 um 17:52 schrieb Adam Jackson:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
> autogen.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/autogen.sh b/autogen.sh
> index fc34bd5..da95aaa 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -9,6 +9,9 @@ cd $srcdir
> autoreconf -v --install || exit 1
> cd $ORIGDIR || exit $?
>
> +git config --local --get format.subjectPrefix ||
> + git config --local format.subjectPrefix "PATCH libXfont"
> +
Hi,
would it be possible make sure that this is applied only to git clones?
For example using something like
if test -d .git ; then
If the directory has been created from a tarball, then git would
traverse up the directories and it would change the subjectPrefix of
some other repository, for example ~/.git for those with a versioned $HOME.
Regards,
--
Gioele Barabucci <gioele at svario.it>
More information about the xorg-devel
mailing list