Index: scripts/patchfns.in =================================================================== RCS file: /cvsroot/quilt/quilt/scripts/patchfns.in,v retrieving revision 1.62 diff -u -r1.62 patchfns.in --- scripts/patchfns.in 6 Jun 2005 19:34:28 -0000 1.62 +++ scripts/patchfns.in 25 Jun 2005 18:19:45 -0000 @@ -108,8 +108,8 @@ then @AWK@ ' $1 == "'"$patch"'" \ - { if (NF >= 2) - for (i=2; i <= NF; i++) + { if (NF >= 2 && $2 !~ "^#") + for (i=2; i <= NF && $i !~ "^#"; i++) print $i else print "-p1" ; Index: test/comments.test =================================================================== RCS file: /cvsroot/quilt/quilt/test/comments.test,v retrieving revision 1.3 diff -u -r1.3 comments.test --- test/comments.test 9 Jul 2004 07:26:40 -0000 1.3 +++ test/comments.test 25 Jun 2005 18:43:42 -0000 @@ -19,7 +19,7 @@ < +two $ cat > patches/series - < test.diff -p0 + < test.diff -p0 # What a wonderful patch $ quilt push > Applying patch %{P}test.diff