Package: git-core Version: 1:1.7.0-1 Severity: normal Tags: patch
kni...@traktor:~/source/external/git (master)$ set -o nounset bash: w: unbound variable kni...@traktor:~/source/external/git$ git ^Ibash: command: unbound variable bash: w: unbound variable kni...@traktor:~/source/external/git$ Running with: export GIT_PS1_SHOWDIRTYSTATE=1 export GIT_PS1_SHOWSTASHSTATE=1 export GIT_PS1_SHOWUNTRACKEDFILES=1 and PS1='${debian_chroot:+($debian_chroot)}...@\h:\w$(__git_ps1 " (%s)")\$ ' -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages git-core depends on: ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib ii libcurl3-gnutls 7.19.7-1 Multi-protocol file transfer libra ii libdigest-sha1-perl 2.12-1 NIST SHA-1 message digest algorith ii liberror-perl 0.17-1 Perl module for error/exception ha ii libexpat1 2.0.1-7 XML parsing C library - runtime li ii perl-modules 5.10.1-11 Core Perl modules ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages git-core recommends: ii less 436-1 pager program similar to more ii openssh-client [ssh-client] 1:5.3p1-1 secure shell (SSH) client, for sec ii patch 2.6-2 Apply a diff file to an original ii rsync 3.0.7-2 fast remote file copy program (lik Versions of packages git-core suggests: pn git-arch <none> (no description available) pn git-cvs <none> (no description available) pn git-daemon-run <none> (no description available) ii git-doc 1:1.7.0-1 fast, scalable, distributed revisi pn git-email <none> (no description available) ii git-gui 1:1.7.0-1 fast, scalable, distributed revisi pn git-svn <none> (no description available) ii gitk 1:1.7.0-1 fast, scalable, distributed revisi pn gitweb <none> (no description available) -- no debconf information
--- /etc/bash_completion.d/git 2010-02-23 12:08:43.000000000 +0100 +++ /etc/bash_completion.d/git.orig 2010-02-23 12:05:01.000000000 +0100 @@ -84,8 +84,8 @@ { local g="$(__gitdir)" if [ -n "$g" ]; then - local r="" - local b="" + local r + local b if [ -f "$g/rebase-merge/interactive" ]; then r="|REBASE-i" b="$(cat "$g/rebase-merge/head-name")" @@ -127,11 +127,11 @@ } fi - local w="" - local i="" - local s="" - local u="" - local c="" + local w + local i + local s + local u + local c if [ "true" = "$(git rev-parse --is-inside-git-dir 2>/dev/null)" ]; then if [ "true" = "$(git rev-parse --is-bare-repository 2>/dev/null)" ]; then @@ -2167,7 +2167,7 @@ _git () { - local i c=1 command="" __git_dir + local i c=1 command __git_dir while [ $c -lt $COMP_CWORD ]; do i="${COMP_WORDS[c]}"