Linus Torvalds [off-list ref] writes:
...just pipe stderr too. That, together with making git-pack-objects tell
what garbage it got, actually does the rigth thing:
[torvalds@g5 git-clone]$ git repack -a -d
fatal: expected sha1, got garbage:
error: Could not read 7f59dbbb8f8d479c1d31453eac06ec765436a780
with this pretty simple patch.
Whaddaya think?
Obviously the right thing to do ;-). I like it.