Using git for patch management in Fedora

Adam Jackson ajax at redhat.com
Wed Nov 20 16:50:47 UTC 2013


On Tue, 2013-11-19 at 10:22 +0000, Richard W.M. Jones wrote:

> which would expand to something like:
> 
>   git init
>   git config user.email "%{name}-owner at fedoraproject.org"
>   git config user.name "%{name}"
>   git add .
>   git commit -a -q -m "%{version} baseline"
>   git am %{patches}

Trivial point of correctness:

git am %{patches} < /dev/null

Otherwise, in the delightful case of having no patches to apply,
non-mock-contained builds will never complete because git-am will be
waiting for a patch on stdin.

- ajax



More information about the devel mailing list