Package: cogito
Version: 0.17.2-1
Severity: important

Recent git-core update leaves cg-status broken. For example:

[EMAIL PROTECTED]:~/git-work-path$ cg-status
Heads:
  >master      cffcfedd19355be3c2ee5019f1cd859e57218d3a
 R ohio        7ddf9f09fabaecbf09b491351b1f52d738213927

? some_entries_like_this
fatal: ambiguous argument '': unknown revision or path not in the
working tree.
Use '--' to separate paths from revisions
[EMAIL PROTECTED]:~/git-work-path$

This happens regardless of whether or not any files have been modified
in my work tree. The culprit appears to be: (from cg-status line 220)

       cg-diff-index HEAD "$basepath" | cut -f5- -d' ' | .....

Basepath is null. If I run the following:

       cg-diff-index HEAD | cut -f5- -d' ' | ....

things work correctly. If, however, I try:

       cg-diff-index HEAD "" | cut -f5- -d' ' | ....

...I get the same error:

       fatal: ambiguous argument '': unknown revision or path not in
the working tree

This check was committed to the upstream git archive at the end of
April: see

       http://www.gelato.unsw.edu.au/archives/git/0604/19610.html

The new upstream release of cogito resolves these problems.

cheers,

Graeme Smecher

-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cogito depends on:
ii  git-core                      1.4.0-1    content addressable filesystem

Versions of packages cogito recommends:
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning
and pr

-- no debconf information




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

Reply via email to