quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] Submit patch: add "header" command to bash_completion


From: Joe Green
Subject: [Quilt-dev] Submit patch: add "header" command to bash_completion
Date: Thu, 11 Aug 2005 09:16:13 -0700
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

Hi,

It looks like the new "header" command is not in the bash_completion script. I've attached a patch to add it.

...Just checking; yes, I did remember to attach it this time.  :)

--
Joe Green <address@hidden>
MontaVista Software, Inc.

Source: MontaVista Software, Inc. <address@hidden>
Type: Defect Fix
Disposition: submit to http://savannah.nongnu.org/projects/quilt

bash_completion doesn't include new quilt header command.

Index: quilt-0.42/bash_completion
===================================================================
--- quilt-0.42.orig/bash_completion
+++ quilt-0.42/bash_completion
@@ -96,8 +96,8 @@ _quilt_completion()
 
     # quilt sub commands 
     cmds='add annotate applied delete diff edit files fold fork graph \
-          grep import new next patches pop previous push refresh remove \
-         rename series setup snapshot top unapplied'
+          grep header import new next patches pop previous push refresh \
+         remove rename series setup snapshot top unapplied'
 
     # if no command were given, complete on commands
     if [[ $COMP_CWORD -eq 1 ]] ; then
@@ -185,6 +185,9 @@ _quilt_completion()
           _longopt grep
           COMPREPLY=( address@hidden:-} $( compgen -W "-h" -- $cur ) )
           ;;
+       header)
+          COMPREPLY=( $( compgen -W "-a -e -h -r --backup --strip-diffstat 
--strip-trailing-whitespace $(quilt series)" -- $cur ) )
+          ;;
        import)
           case $prev in
             -p)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]