Package: git-core
Version: 1:1.5.5.1-1
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

this small patch should enable bash completion support for 
git-rebase--interactive ...

- --- git.~1~   2008-04-09 09:07:49.000000000 +0200
+++ git 2008-05-24 11:48:01.000000000 +0200
@@ -874,6 +874,32 @@
        __gitcomp "$(__git_refs)"
 }
 
+
+_git_rebase_interactive ()
+{
+       local cur="${COMP_WORDS[COMP_CWORD]}" dir="$(__gitdir)"
+       if [ -d .dotest ] || [ -d "$dir"/.dotest-merge ]; then
+               __gitcomp "--continue --skip --abort"
+               return
+       fi
+       case "${COMP_WORDS[COMP_CWORD-1]}" in
+       -s|--strategy)
+               __gitcomp "$(__git_merge_strategies)"
+               return
+       esac
+       case "$cur" in
+       --strategy=*)
+               __gitcomp "$(__git_merge_strategies)" "" "${cur##--strategy=}"
+               return
+               ;;
+       --*)
+               __gitcomp "--onto --merge --strategy"
+               return
+       esac
+       __gitcomp "$(__git_refs)"
+}
+
+
 _git_config ()
 {
        local cur="${COMP_WORDS[COMP_CWORD]}"
@@ -1378,6 +1404,7 @@
 complete -o default -o nospace -F _git_pull git-pull
 complete -o default -o nospace -F _git_push git-push
 complete -o default -o nospace -F _git_rebase git-rebase
+complete -o default -o nospace -F _git_rebase_interactive 
git-rebase--interactive
 complete -o default -o nospace -F _git_config git-config
 complete -o default -o nospace -F _git_remote git-remote
 complete -o default -o nospace -F _git_reset git-reset



- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (10, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.3-686 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-core depends on:
ii  cpio                   2.9-13            GNU cpio -- a program to manage ar
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.1-1          Multi-protocol file transfer libra
ii  libdigest-sha1-perl    2.11-2+b1         NIST SHA-1 message digest algorith
ii  liberror-perl          0.17-1            Perl module for error/exception ha
ii  libexpat1              1.95.8-4          XML parsing C library - runtime li
ii  perl-modules           5.10.0-10         Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages git-core recommends:
ii  curl                          7.18.1-1   Get a file from an HTTP, HTTPS or 
ii  less                          418-1      Pager program similar to more
ii  openssh-client [ssh-client]   1:4.7p1-9  secure shell client, an rlogin/rsh
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  rsync                         3.0.2-2    fast remote file copy program (lik

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIN+VQFz+XezW6HD4RAn0mAKCJfwWWLaOh4l3A/KMI/DthC8E1PQCgilae
yN7HA797xq6Lb0dsfhel4sI=
=Jzas
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to