Package: git
Version: 1:1.8.4~rc0-1
Severity: important

Commit c334b87b30c1464a1ab563fe1fb8de5eaf0e5bac caused a reversion in
git-cat-file --batch. 

With an older version:

joey@gnu:~/tmp/rrr>git cat-file --batch
:file name
e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 blob 0

With the new version:

joey@wren:~/tmp/r>git cat-file --batch
:file name
:file missing

This has broken git-annex's support for operating on files/directories
containing whitespace. I cannot see a way to query such a filename using
the new interface.

Note that git-cat-file(1) still claims to support <object>
in any form, which gitrevisions(7) says includes <rev>:<path>
and :<path>. Based on the commit message, this form of <object> was not
considered when designing the new git-cat-file --batch interface.

    This whitespace split is backwards compatible for any
    reasonable input. Object names cannot contain spaces

Which forgets about filenames, which can..

I think this change should be reverted, since who knows what other
programs it breaks besides git-annex. However, if reverting this change
(upstream) is not desirable for other reasons, it would suffice for
git-annex's needs if git cat-file --batch -z took raw <objects>
separated by NUL.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.8-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git depends on:
ii  git-man          1:1.8.4~rc0-1
ii  libc6            2.17-5
ii  libcurl3-gnutls  7.30.0-2
ii  liberror-perl    0.17-1
ii  libexpat1        2.1.0-3
ii  libpcre3         1:8.31-2
ii  perl-modules     5.14.2-21
ii  zlib1g           1:1.2.8.dfsg-1

Versions of packages git recommends:
ii  less                         458-2
ii  openssh-client [ssh-client]  1:6.2p2-4
ii  patch                        2.6.1-3
ii  rsync                        3.0.9-4

Versions of packages git suggests:
ii  gettext-base                          0.18.2.1-1
pn  git-arch                              <none>
pn  git-bzr                               <none>
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
pn  git-doc                               <none>
pn  git-el                                <none>
pn  git-email                             <none>
pn  git-gui                               <none>
pn  git-svn                               <none>
pn  gitk                                  <none>
ii  gitweb                                1:1.8.4~rc0-1

-- no debconf information

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to