Using git for patch management in Fedora

Adam Jackson ajax at
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 "%{name}-owner at"
>   git config "%{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