From a37d43797a3e9ee8df99b3a496effe6d1c459910 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 22 Feb 2012 13:17:53 -0500 Subject: [PATCH] Fix git-am to terminate sanely if there's no patches --- xorg-x11-server.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index fc3eead..b6f3d22 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -321,7 +321,7 @@ git commit -a -q -m "%{version} baseline." %endif # Apply all the patches. -git am -p1 %{patches} +git am -p1 %{patches} < /dev/null %if %{with_hw_servers} && !0%{?gitdate} # check the ABI in the source against what we expect.