summaryrefslogtreecommitdiffstats
path: root/lib/patchfns.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-01-30 18:05:47 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-01-30 18:05:47 +0000
commitbca5fbfcee9dc294360f937b0c39fc1c6c1cc899 (patch)
tree0931cd27dc859b051db1a0b57b1c72d6be624d69 /lib/patchfns.in
parenta62fb9b3aa2cee7c5a5b5c3e14372faba01f383d (diff)
downloadquilt-bca5fbfcee9dc294360f937b0c39fc1c6c1cc899.tar.gz
Quilt diff now accepts a list of files; add quilt.changes entry for previous file removal.
Diffstat (limited to 'lib/patchfns.in')
-rw-r--r--lib/patchfns.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/patchfns.in b/lib/patchfns.in
index f30ea13..4d57d5c 100644
--- a/lib/patchfns.in
+++ b/lib/patchfns.in
@@ -596,3 +596,14 @@ patch_description()
' $patch_file
fi
}
+
+in_array()
+{
+ local a=$1
+ while [ $# -gt 1 ]
+ do
+ shift
+ [ "$a" = "$1" ] && return 0
+ done
+ return 1
+}