Re: [PATCH v2 0/4] Teach `git fsck` a new option: `--name-objects`

2016-07-18 Thread Junio C Hamano
Johannes Schindelin writes: > -static int fsck_error_func(struct object *obj, int type, const char > *message) > +static int fsck_error_func(struct fsck_options *o, > +struct object *obj, int type, const char *message) > { > objreport(obj, (type ==

[PATCH v2 0/4] Teach `git fsck` a new option: `--name-objects`

2016-07-17 Thread Johannes Schindelin
When using experimental features (such as worktrees), it is quite possible to end up with a repository that is a little bit corrupted. In this developer's case, the auto gc run during interactive rebases in worktrees completely messed up the reflogs. The symptoms are broken links between