Re: [PATCH 3/3] fsck: optionally show more helpful info for broken links
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 17, 2016, 08:22 UTC
- Message-ID
- <alpine.DEB.2.20.1607171021520.28832@virtualbox>
- In-Reply-To
- <CAPig+cS=LVBhy1pqo2KXz-NoPZdPzkzTgV+S1Ro5+zOjDpKGPw@mail.gmail.com>
Hi Eric,
On Fri, 15 Jul 2016, Eric Sunshine wrote:
Show 22 quoted lines
> On Thu, Jul 14, 2016 at 11:30 AM, Johannes Schindelin
> <johannes.schindelin@gmx.de> wrote:
> > When reporting broken links between commits/trees/blobs, it would be
> > quite helpful at times if the user would be told how the object is
> > supposed to be reachable.
> >
> > With the new --name-objects option, git-fsck will try to do exactly
> > that: name the objects in a way that shows how they are reachable.
> > [...]
> > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> > ---
> > diff --git a/builtin/fsck.c b/builtin/fsck.c
> > @@ -576,6 +598,7 @@ static struct option fsck_opts[] = {
> > OPT_BOOL(0, "lost-found", &write_lost_and_found,
> > N_("write dangling objects in .git/lost-found")),
> > OPT_BOOL(0, "progress", &show_progress, N_("show progress")),
> > + OPT_BOOL(0, "name-objects", &name_objects, N_("show verbose names for rechable objects")),
>
> s/rechable/reachable/
>
> > OPT_END(),
> > };Thanks, as always, for a set of extra sharp eyes. Will be fixed in the next iteration.
Ciao, Dscho