From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Thierry Merle <thierry.merle@free.fr>
Cc: video4linux-list@redhat.com
Subject: PATCH: v4l-dvb-do-not-strip-patch-files.patch
Date: Thu, 03 Jul 2008 13:48:41 +0200 [thread overview]
Message-ID: <486CBC99.20303@hhs.nl> (raw)
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
Hi,
While doing make commit of my latest patch I found out that strip-whitespace
also strips the application patches included in the latest libv4l, which is
bad, this patch fixes this.
Regards,
Hans
[-- Attachment #2: v4l-dvb-do-not-strip-patch-files.patch --]
[-- Type: text/plain, Size: 665 bytes --]
The libv4l directory contains some bugfix patches / port to libv4l patches
for various applications, strip-trailing-whitespaces.sh should not touch these
this patch teaches strip-trailing-whitespaces.sh to not touch .patch files.
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
diff -r 6169e79de2d2 v4l/scripts/strip-trailing-whitespaces.sh
--- a/v4l/scripts/strip-trailing-whitespaces.sh Tue Jul 01 21:18:23 2008 +0200
+++ b/v4l/scripts/strip-trailing-whitespaces.sh Thu Jul 03 13:46:16 2008 +0200
@@ -20,6 +20,12 @@
fi
for file in `eval $files`; do
+ case "$file" in
+ *.patch)
+ continue
+ ;;
+ esac
+
perl -ne '
s/[ \t]+$//;
s<^ {8}> <\t>;
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next reply other threads:[~2008-07-03 11:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 11:48 Hans de Goede [this message]
2008-07-03 18:37 ` PATCH: v4l-dvb-do-not-strip-patch-files.patch Thierry Merle
-- strict thread matches above, loose matches on Subject: below --
2008-07-03 11:49 Hans de Goede
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=486CBC99.20303@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--cc=thierry.merle@free.fr \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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