Re: [PATCH] tree-walk: be more specific about corrupt tree errors

2014-02-13 Thread Michael Haggerty
On 02/12/2014 08:49 PM, Jeff King wrote: > When the tree-walker runs into an error, it just calls > die(), and the message is always "corrupt tree file". > However, we are actually covering several cases here; let's > give the user a hint about what happened. > > Let's also avoid using the word "c

[PATCH] tree-walk: be more specific about corrupt tree errors

2014-02-12 Thread Jeff King
When the tree-walker runs into an error, it just calls die(), and the message is always "corrupt tree file". However, we are actually covering several cases here; let's give the user a hint about what happened. Let's also avoid using the word "corrupt", which makes it seem like the data bit-rotted