[BUG] "git cat-file tree <sha1>" prints garbage
- From
Sebastian Harl <sh@tokkee.org>
- Date
- Oct 1, 2006, 20:26 UTC
- Message-ID
- <20061001202602.GD32373@albany.tokkee.org>
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ø|FdCbWÈê;»_"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/