[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH] setup: Skip version check
From: |
Jean Delvare |
Subject: |
[Quilt-dev] [PATCH] setup: Skip version check |
Date: |
Fri, 06 Jun 2014 18:22:03 +0200 |
The version check is irrelevant when running "quilt setup", as it is
creating a brand new working tree anyway.
Reported by Petr Tesarik.
---
quilt/setup.in | 3 +++
test/setup.test | 7 +++++++
2 files changed, 10 insertions(+)
--- a/quilt/setup.in
+++ b/quilt/setup.in
@@ -6,6 +6,9 @@
#
# See the COPYING and AUTHORS files for more details.
+# Version check is irrelevant to this command.
+skip_version_check=1
+
# Read in library functions
if [ "$(type -t patch_file_name)" != function ]
then
--- a/test/setup.test
+++ b/test/setup.test
@@ -32,6 +32,13 @@ $ quilt push -qa
> Now at patch patches/again.diff
$ cd ..
$ rm -rf dir
+
+# Quilt setup should happily ignore patches and .pc directories
+$ mkdir .pc patches
+$ quilt setup series
+> Unpacking archive dir.tar.gz
+$ rm -rf dir .pc patches
+
$ quilt setup -d other series
> Unpacking archive dir.tar.gz
$ cd other/dir
--
Jean Delvare
SUSE L3 Support
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [PATCH] setup: Skip version check,
Jean Delvare <=