[Pkg-zsh-devel] Bug#780852: zsh: vcs-info produces errors for git rebase -m

brian m. carlson sandals at crustytoothpaste.net
Fri Mar 20 14:25:26 UTC 2015


Package: zsh-common
Version: 5.0.7-5
Severity: normal

When rebasing using git rebase -m from git 1:2.1.4+next.20141218-2 in
experimental, vcs-info causes complaints in the shell immediately before
the prompt:

  VCS_INFO_get_data_git:208: no such file or directory: .git/rebase-merge/done
  bmc at vauxhall:~/checkouts/git(object-id-part1-pu)

It also does not indicate that I'm in rebase mode at all, which you can
notice by the lack of a pipe in the parenthesized portion of my prompt.
When I apply the patch from commit
57be7b743fbd7afb86edaac3ac86ef34182f86b9 upstream, I get a different
error instead:

  grep: .git/rebase-merge/git-rebase-todo: No such file or directory
  bmc at vauxhall:~/checkouts/git(object-id-part1-pu|rebase-m)

Notice, however, that it does indicate that I'm in rebase -m mode, which
is an improvement.

If you need to see my prompt script for some reason, it's available at
https://github.com/bk2204/homedir/blob/master/.zsh/prompt_bmc_setup.

Since I expect you'll work with upstream to fix this, please consider
moving the affected if/then block into a function and then calling that
function, since it would allow me to temporarily disable that in my
shell config until it's patched.

-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                       Version                    Architecture               Description
+++-==========================================-==========================-==========================-=========================================================================================
ii  git-buildpackage                           0.6.22                     all                        Suite to help with Debian packages in Git repositories
ii  pulseaudio                                 5.0-13                     amd64                      PulseAudio sound server
ii  systemd                                    215-12                     amd64                      system and service manager

The following files were modified:

/etc/systemd/system.conf

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zsh-common depends on:
ii  dpkg  1.17.24

Versions of packages zsh-common recommends:
ii  zsh  5.0.7-5

Versions of packages zsh-common suggests:
ii  zsh-doc  5.0.7-5

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20150320/d415fe7b/attachment.sig>


More information about the Pkg-zsh-devel mailing list