Re: [PATCH 4/4] replace: add a --raw mode for --edit

2014-06-26 Thread Jeff King
On Wed, Jun 25, 2014 at 03:33:42PM -0700, Junio C Hamano wrote: Jeff King p...@peff.net writes: One of the purposes of git replace --edit is to help a user repair objects which are malformed or corrupted. Usually we pretty-print trees with ls-tree, which is much easier to work with

Re: [PATCH 4/4] replace: add a --raw mode for --edit

2014-06-25 Thread Jeff King
On Tue, Jun 24, 2014 at 09:40:09PM -0400, Eric Sunshine wrote: On Tue, Jun 24, 2014 at 5:46 AM, Jeff King p...@peff.net wrote: One of the purposes of git replace --edit is to help a user repair objects which are malformed or corrupted. Usually we pretty-print trees with ls-tree, which is

Re: [PATCH 4/4] replace: add a --raw mode for --edit

2014-06-25 Thread Junio C Hamano
Jeff King p...@peff.net writes: One of the purposes of git replace --edit is to help a user repair objects which are malformed or corrupted. Usually we pretty-print trees with ls-tree, which is much easier to work with than the raw binary data. However, some forms of corruption break the

Re: [PATCH 4/4] replace: add a --raw mode for --edit

2014-06-24 Thread Eric Sunshine
On Tue, Jun 24, 2014 at 5:46 AM, Jeff King p...@peff.net wrote: One of the purposes of git replace --edit is to help a user repair objects which are malformed or corrupted. Usually we pretty-print trees with ls-tree, which is much easier to work with than the raw binary data. However, some