public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@sw•ru>
To: git@vger•kernel.org
Cc: adobriyan@gmail•com
Subject: [PATCH] Tweak git-quiltimport to allow more flexible series format
Date: Thu, 22 Nov 2007 16:48:49 +0300	[thread overview]
Message-ID: <20071122134849.GB6240@localhost.sw.ru> (raw)

Make quiltimport also understand comments following patch name.

Signed-off-by: Alexey Dobriyan <adobriyan@sw•ru>
---

 git-quiltimport.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/git-quiltimport.sh
+++ b/git-quiltimport.sh
@@ -63,7 +63,7 @@ tmp_info="$tmp_dir/info"
 commit=$(git rev-parse HEAD)
 
 mkdir $tmp_dir || exit 2
-for patch_name in $(grep -v '^#' < "$QUILT_PATCHES/series" ); do
+for patch_name in $(sed -e 's/#.*//' < "$QUILT_PATCHES/series" ); do
 	if ! [ -f "$QUILT_PATCHES/$patch_name" ] ; then
 		echo "$patch_name doesn't exist. Skipping."
 		continue

             reply	other threads:[~2007-11-22 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22 13:48 Alexey Dobriyan [this message]
2007-11-22 23:43 ` [PATCH] Tweak git-quiltimport to allow more flexible series format Junio C Hamano
2007-11-27 16:52   ` Alexey Dobriyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071122134849.GB6240@localhost.sw.ru \
    --to=adobriyan@sw$(echo .)ru \
    --cc=adobriyan@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox