summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Reuse the shellJean Delvare2021-09-031-1/+4
| | | | | | | | | | | | | | | | One side effect of commit ca85fbd82022 ("Move the code which adds the default parameters from quiltrc") is that we now source the quiltrc configuration file twice. While parsing this file shouldn't take overly long, this still feels conceptually wrong. This can be avoided by reusing the same shell for the quilt command as we used for the quilt "launcher" itself, instead of starting a new instance of bash for it. As a nice side bonus, this makes quilt about 2% faster (measured on the test suite). Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Move the code which adds the default parameters from quiltrcJean Delvare2021-06-101-0/+13
| | | | | | | | | | Move the code which reads the default parameters for each command from quiltrc, from patchfns to the main quilt script. This is needed because the parsing of command line options needs to happen before we source patchfns, which is obviously not possible if some of the options are being set by patchfns itself. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* patch-wrapper: Make the patch names that quilt shows more convenientAndreas Gruenbacher2016-12-081-14/+31
| | | | | | | | | When operating on an rpm package, create links to the rpm sources and build directories and make patch names relative to these links. This is more convenient than using ugly absolute paths. This patch has been in the SUSE quilt package since February 2006, it seems to be about time to get it upstream.
* guards: Clarify user messageJean Delvare2015-04-291-1/+1
| | | | | | | | | | When --config=series is used and a listed file is not found on the disk, guards prints the following message: Not found in series: file This message is confusing, as the file was found in series, it is missing on the disk. Change the message to make this more obvious.
* guards: Documentation updateJean Delvare2015-04-241-3/+5
| | | | | * Fix synopsis format. * Document the new --path=@<file> option.
* guards: Report which config file has problem in --check modeMichal Marek2015-04-241-2/+8
|
* guards: Include the file name also in the "Not found" errorMichal Marek2015-04-241-1/+5
|
* guards: Add support for an external filelist in --check modeMichal Marek2015-04-241-2/+14
| | | | This will allow us to run --check without a kernel-source.git work tree.
* guards: Simplify help textMichal Marek2015-04-241-2/+1
|
* Add missing editor hintsJean Delvare2015-02-251-0/+4
| | | | | Add the editor syntax hint comments to 3 files which do not have them yet.
* Fix translation of main usage messageJean Delvare2015-02-111-3/+3
| | | | | | @ETCDIR@ is substituted at build time so it should not appear in translated messages. Replace it with %s and pass the actual value as a parameter.
* Use consistent brace placementJean Delvare2014-02-281-2/+4
| | | | | Use the same brace placement for all bash functions through the whole tree.
* Tree-wide white-space cleanupsJean Delvare2014-01-201-1/+1
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* unset GREP_OPTIONS in bin/quilt, as it's quite easy to break quilt with ↵Martin Quinson2013-12-221-0/+4
| | | | uncommon options
* bin/patch-wrapper.in: Die with an informative message when /proc is not mountedMartin Quinson2013-12-211-0/+4
|
* guards: Fix a typoAndreas Gruenbacher2013-12-111-1/+1
|
* guards: Minor updateAndreas Gruenbacher2013-12-111-5/+9
|
* guards: Add option --with-guardsAndreas Gruenbacher2013-12-111-2/+5
| | | | guards -w prints the guards in the output stream.
* quilt: unset POSIXLY_CORRECT to ensure that patch works non-interactivelyRaphaël Hertzog2012-02-291-0/+4
| | | | | | | | | POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working non-interactively which is not the case in POSIX mode. Bug-Debian: http://bugs.debian.org/462578 Reported-by: Brian M. Carlson <sandals@crustytoothpaste.ath.cx> Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
* Make backup-files a shell scriptMartin Quinson2012-02-011-2/+2
| | | | | | | | Make backup-files a shell script instead of a binary, so we can make quilt arch: all [Steve Langasek, thanks so much] (Closes: Debian #363659) Signed-off-by: Jean Delvare <jdelvare@suse.de>
* several documentation fixes that were accumulated over the years in Debian ↵Martin Quinson2011-09-281-1/+1
| | | | package
* Do not hard-code the location of /etc; use $(etcdir) insteadAndreas Gruenbacher2010-06-091-2/+2
|
* Convert to git repository formatv0.48Andreas Gruenbacher2009-01-291-2/+0
|
* - bin/quilt.in, doc/quilt.1.in: Document the --quiltrc=- featureJean Delvare2006-06-241-1/+3
| | | | (#16727).
* - Stop using bash's =~ operator: older versions don't support it.v0.44Andreas Gruenbacher2006-02-141-7/+13
| | | | - Bump version to 0.44.
* - bin/patch-wrapper.in: Call GNU patch by absolute patch to avoidAndreas Gruenbacher2006-02-111-2/+2
| | | | | recursion. Don't print an error message when a patch contains no files.
* - Add --with-patch-wrapper configure argument, and optionallyAndreas Gruenbacher2006-02-061-23/+32
| | | | | install the wrapper as /usr/share/quilt/wrapper/patch. - bin/patch-wrapper.in: Minor cleanups.
* - bin/patch-wrapper.in: Add hack to follow pipes via /proc onAndreas Gruenbacher2006-02-061-4/+17
| | | | Linux (zcat patch.diff.gz | patch -p0, etc.).
* - More minor fixes.Andreas Gruenbacher2006-02-061-13/+24
|
* - bin/patch-wrapper.in: First fix ;)Andreas Gruenbacher2006-02-061-7/+6
|
* - UpdateAndreas Gruenbacher2006-02-061-0/+1
|
* - bin/patch-wrapper.in: A wrapper to GNU patch that recognizes theAndreas Gruenbacher2006-02-061-0/+204
| | | | | | | | | | most common options and mimics GNU patch's behavior and output, and creates the quilt metadata as if quilt push was used to apply the patch. When options are used that this wrapper does not recognize, GNU patch is used directly, and no quilt metadata will get created. - lib/backup-files.c: Don't fail if a directory specified with -B does not exist.
* - Use better variable names to avoid name clashes.Andreas Gruenbacher2006-01-141-8/+8
|
* - Use the quilt version in the source tree instead of theAndreas Gruenbacher2006-01-141-6/+9
| | | | installed version for running the test suite.
* s/ocnfiguration/configuration/Martin Quinson2005-12-011-1/+1
|
* - Remove compatibility shell functions and convert them toAndreas Gruenbacher2005-09-181-4/+0
| | | | standalone scripts.
* - Replace @FOO@ macros in scripts with foo command where possible.Andreas Gruenbacher2005-09-181-3/+2
|
* - Only add compat/ directory to PATH if it exists. Only create itAndreas Gruenbacher2005-09-171-5/+6
| | | | when necessary.
* - Merge compatibility layer from John Vandenberg <jayvdb@gmail.com>.Andreas Gruenbacher2005-09-171-0/+9
|
* - bin/quilt.in: clean up helptext.Andreas Gruenbacher2005-07-171-3/+1
|
* - Jean Delvare:Andreas Gruenbacher2005-06-261-1/+13
| | | | | + Add a --version option that prints the program version. + patch_args: Fix comments parsing in series files.
* - A minor improvement to the help text.Andreas Gruenbacher2005-04-261-2/+2
|
* - Add mail command, doc/README.MAIL and example ``mail'' commandAndreas Gruenbacher2005-01-231-2/+3
| | | | | filter in quilt.quiltrc. - Bump version to 0.38.
* - Add a default /etc/quilt.quiltrc file that is sourced if noAndreas Gruenbacher2005-01-111-1/+4
| | | | ~/.quiltrc file exists.
* - bin/quilt.in: Add optional verbose modifier to --trace optionAndreas Gruenbacher2004-09-131-3/+12
| | | | by request of Dean Roehrich <roehrich@sgi.com>.
* - Replace a few instances of awk and sed with @AWK@ and @SED@ inAndreas Gruenbacher2004-07-141-1/+1
| | | | *.in files.
* - Update guards script: add -l (list) and -v (invert) options.Andreas Gruenbacher2004-07-141-19/+44
| | | | - Add generated man pages to clean target.
* - Also set TEXTDOMAINDIR in the wrapper script (bin/quilt.in).Andreas Gruenbacher2004-07-121-0/+1
|
* - Allow passing of default options to commands by definingAndreas Gruenbacher2004-07-011-0/+1
| | | | | QUILT_${COMMAND}_ARGS in .quiltrc. This should eventually get us rid of some of the mess in .quiltrc.
* - Fix another upgrade bug: The series file may optionally containAndreas Gruenbacher2004-06-121-1/+1
| | | | | | | a strip level argument (-pN) which must be stripped off when determining the patch name. - A minor correction in the doumentation; some whitespace fixes. - Translation update.