summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash_completion2
-rw-r--r--quilt.changes6
-rw-r--r--quilt/files.in2
3 files changed, 8 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion
index 9939a83..b17240f 100644
--- a/bash_completion
+++ b/bash_completion
@@ -175,7 +175,7 @@ _quilt_completion()
COMPREPLY=( $( compgen -W "$(quilt applied)" -- $cur ) )
;;
*)
- COMPREPLY=( $( compgen -W "-a -l -v -h --combine $(quilt series)" -- $cur ) )
+ COMPREPLY=( $( compgen -W "-a -l -v -h --combine $(quilt applied)" -- $cur ) )
;;
esac
;;
diff --git a/quilt.changes b/quilt.changes
index a818c2e..ccb821e 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Sun Jan 29 21:17:10 CET 2006 - khali@linux-fr.org
+
+- quilt/files.in, bash_completion: Command files only works on
+ applied patches.
+
+-------------------------------------------------------------------
Sun Jan 29 15:40:47 CET 2006 - khali@linux-fr.org
- quilt/patches.in, quilt/refresh.in: Update usage line.
diff --git a/quilt/files.in b/quilt/files.in
index a5cc9b6..0374a29 100644
--- a/quilt/files.in
+++ b/quilt/files.in
@@ -86,7 +86,7 @@ then
usage
fi
-last_patch=$(find_patch_in_series "$1") || exit 1
+last_patch=$(find_applied_patch "$1") || exit 1
if [ -n "$opt_all" -a -z "$first_patch" ]
then