summaryrefslogtreecommitdiffstats
path: root/bin/quilt.in
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>
* 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.
* unset GREP_OPTIONS in bin/quilt, as it's quite easy to break quilt with ↵Martin Quinson2013-12-221-0/+4
| | | | uncommon options
* 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>
* Do not hard-code the location of /etc; use $(etcdir) insteadAndreas Gruenbacher2010-06-091-2/+2
|
* - bin/quilt.in, doc/quilt.1.in: Document the --quiltrc=- featureJean Delvare2006-06-241-1/+3
| | | | (#16727).
* - 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.
* - 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.
* - 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.
* - backup-file.c: Add code to recursively search .pc directories.Andreas Gruenbacher2004-06-061-1/+5
| | | | | | | | | | Add a "no-op" mode as default, and allow to just unlink files. - apatch/rpatch: let backup-files search .pc directories instead of generating temporary file lists. - rpatch/pop: unlink files of topmost patch after popping instead of unlinking at each step. - If QUILTRC is set in the environment, use this as the configuration file.
* document common options to all scripts (--trace and --quiltrc)Martin Quinson2004-06-011-12/+11
|
* - Replace two occurrences of \t in sed regular expressionsAndreas Gruenbacher2004-04-211-1/+1
| | | | | | with bash $'\t': Some older versions of sed don't understand \t. Thanks to Randy Dunlap <rddunlap@osdl.org> for reporting this.
* - Add --quiltrc={rcfile|-} option. Remove some superfluous quotingAndreas Gruenbacher2004-02-031-11/+21
| | | | | | from quilt wrapper. - Extra tests in `quilt refresh' did not check if the old patch was missing.
* - Fix test for bash in configure.ac.Andreas Gruenbacher2004-02-021-1/+6
| | | | | | | - Add `--trace' option to quilt wrapper (runs commands with -x, which prints an execution trace). - Add QUILT_BACKUP setting in .quiltrc (creates backup copies when refreshing patches).
* Some I18N fixesAndreas Gruenbacher2003-02-151-1/+1
|
* Implement i18n, french l10n and bump version numberMartin Quinson2003-02-141-4/+6
|
* Merge James Rowe's quilt-help.diff patch that fixes several help messages.Andreas Gruenbacher2003-02-081-1/+1
|
* Change #\!@BASH@ to #\! @BASH@. It can look a bit stupid, but it's needed ↵Martin Quinson2003-01-311-1/+1
| | | | for maximal portability
* Prepare for GNU Autoconf; Some cleanups in MakefileAndreas Gruenbacher2003-01-301-1/+1
|
* Version 0.21 from Andreas GruenbacherMartin Quinson2003-01-291-0/+90