Git development
 help / color / mirror / Atom feed
* [BUG] "git cat-file tree <sha1>" prints garbage
@ 2006-10-01 20:26 Sebastian Harl
  2006-10-01 20:48 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Harl @ 2006-10-01 20:26 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

Hi,

When using "git cat-file tree <sha1>" to print a tree's content, it produces
garbage output like the following:

  $ git cat-file -t c0cd1e4e1888be6a70d44476996ece8be1ab52a2
  tree
  $ git cat-file tree c0cd1e4e1888be6a70d44476996ece8be1ab52a2
  100644 .gitignore%ëF7¦ùq¤¢«‚:“y—ǽ100644
  COPYINGoø|Fd˜C—bW‘Èê;»_"y£40000 DocumentationŠ>Ý¢ÞÀŸçœ $ë#ºâü100755
  GIT-VERSION-GEN
  [...]

Using "git cat-file -p <sha1>" works fine.
(The above example uses one of the latest commits of the git.git repository)

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC
http://tokkee.org/


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-01 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 20:26 [BUG] "git cat-file tree <sha1>" prints garbage Sebastian Harl
2006-10-01 20:48 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox