| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Some options need a parameter, invite the user to provide it.
|
|
|
|
| |
Command "new" accepts options now, add support for them.
|
|
|
|
| |
Some options need a parameter, invite the user to provide it.
|
|
|
|
|
| |
Enable completion with the new options of commands diff, fold, import,
mail, patches, pop, push, refresh, series and setup.
|
|
|
|
| |
Command "upgrade" was missing.
|
|
|
|
|
|
| |
Drop the check for quilt being present. No other completion file has
such a check, because it's useless. If the program isn't installed
then its completion file isn't installed either.
|
|
|
|
|
|
|
|
|
|
| |
Completing long options of the grep command is not a fundamental
feature. I can't remember ever needing it. The most useful grep
options are short ones by design. Additionally, our internal
implementation of _longopt is broken as far as I can tell.
So drop our implementations of _expand, _filedir and _longopt, and
only call _longopt if it is already available from bash-completion.
|
|
|
|
|
| |
Add support for directories to _quilt_comfile, and use that for the
setup command. The drops the last direct dependency to _filedir.
|
|
|
|
|
| |
All other commands use _quilt_comfile so do the same for diff for
consistency.
|
|
|
|
|
|
|
|
| |
Set IFS in _quilt_comfile so that file names containing spaces are
properly handled. Also quote ${COMPREPLY[@]} everywhere so that such
file names are preserved.
This closes Debian bug #640551.
|
|
|
|
|
|
|
|
|
|
| |
You can't change the caller's environment from the right hand side of
a pipe. So that code was doing nothing, which means we can just
delete it.
What the code was supposedly doing, is actually implemented by
complete's option "filenames". So move the comment to where this
option is set, to clear the confusion.
|
|
|
|
|
| |
The push --interactive option has been removed long ago, clean up
remaining references.
|
|
|
|
| |
We don't need echo, we can call compgen directly.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user's quilt configuration file (~/.quiltrc or
/etc/quilt.quiltrc) contains QUILT_PATCHES_PREFIX=yes (and the
default /etc/quilt.quiltrc does), bash completion chokes on patch
names. This is because quilt series, applied and unapplied return
relative patch names instead of the expected absolute patch names.
This can be solved by skipping configuration files when quilt is
called from the bash completion script.
This fixes bug #27111:
https://savannah.nongnu.org/bugs/index.php?27111
|
|
|
|
|
|
|
|
|
|
| |
When using bash TAB completion in "quilt push <TAB>", if no patch is
applied, it shows the standard error of the command "quilt applied"
("No patches applied"), used in the source file bash_completion to get
the list of applied patches.
This is similar to commit 6af132b5061f6773f9591ebde625c92a395ebc91,
but for the push script that were forgotten previously.
|
| |
|
|
|
|
|
|
|
|
|
| |
When using bash TAB completion, such as in "quilt pop <TAB>",
if no patch is applied, it shows the standard error of the command
"quilt applied" ("No patches applied"), used in the source file
bash_completion to get the list of applied patches.
Signed-off-by: David Paleino <dapal@debian.org>
|
|
|
|
| |
Bernhard Walle <bwalle@suse.de>.
|
| |
|
| |
|
|
|
|
| |
patches.
|
|
|
|
| |
- bash_completion: Resync with quilt commands options.
|
|
|
|
|
|
| |
at the specified rather than the topmost patch.
- bash_completion: Support the new -p option.
- test/annotation.test: Test the new -p option.
|
|
|
|
| |
(backup rather than remove.) Patch from Joe Green.
|
| |
|
| |
|
|
|
|
| |
after topmost (rather than the specified or topmost patch).
|
| |
|
| |
|
| |
|
|
|
|
| |
(may contain letters)
|
| |
|
|
|
|
| |
(Axel Grossklaus <ag@pre-secure.de>).
|
| |
|
|
|
|
| |
quilt will accept such a partial command as valid. [Joe Green]
|
| |
|
|
|
|
| |
[Joe Green]
|
|
|
|
| |
version checking
|
| |
|
|
|
|
|
| |
- Add QUILT_SERIES setting: Override the location of the series
file to use.
|
| |
|
|
|