Package: git-core
Version: 1:1.5.6.5-1
Severity: wishlist

git cat-file supports --batch and --batch-check options, which take
object names on standard input and provide object metadata and (for
--batch) contents on standard output.  It assumes that one object name
appears per line.  For sha1s this works fine, but for names this
prevents the safe use of names that contain newline characters.  To
address this, git cat-file could support a -z option, which makes it
accept '\0'-terminated names on stdin instead.

git cat-file will also print a message of the form
<object> SP missing LF
to stdout for each object not found in the repository.  This will need
revising as well to allow for object names with newlines; perhaps it
could drop the object name and just print "missing" and an LF,
assuming the consumer of the data knows what it asked for.

- Josh Triplett

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

Kernel: Linux 2.6.27-rc9-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-core depends on:
ii  libc6                  2.7-15            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-7          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              2.0.1-4           XML parsing C library - runtime li
ii  perl-modules           5.10.0-16         Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages git-core recommends:
ii  less                          418-1      Pager program similar to more
ii  openssh-client [ssh-client]   1:5.1p1-3  secure shell client, an rlogin/rsh
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  rsync                         3.0.4-3    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)
pn  git-doc                      <none>      (no description available)
pn  git-email                    <none>      (no description available)
pn  git-gui                      <none>      (no description available)
ii  git-svn                      1:1.5.6.5-1 fast, scalable, distributed revisi
ii  gitk                         1:1.5.6.5-1 fast, scalable, distributed revisi
pn  gitweb                       <none>      (no description available)

-- no debconf information



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

Reply via email to