Re: [PATCH 7/8] fsck: check HEAD and reflog from other worktrees

2018-09-29 Thread Duy Nguyen
On Sun, Sep 23, 2018 at 04:41:32AM -0400, Eric Sunshine wrote: > > + grep "main/HEAD: detached HEAD points" out > > This message doesn't get localized, so no need for > test_i18ngrep(). Okay. Don't remind me. I started to mark all strings in fsck for translation and faced the reality that

Re: [PATCH 7/8] fsck: check HEAD and reflog from other worktrees

2018-09-23 Thread Eric Sunshine
On Sat, Sep 22, 2018 at 2:05 PM Nguyễn Thái Ngọc Duy wrote: > fsck is a repo-wide operation and should check all references no > matter which worktree they are associated to. > > Reported-by: Jeff King > Helped-by: Elijah Newren > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git

[PATCH 7/8] fsck: check HEAD and reflog from other worktrees

2018-09-22 Thread Nguyễn Thái Ngọc Duy
From: Elijah Newren fsck is a repo-wide operation and should check all references no matter which worktree they are associated to. Reported-by: Jeff King Helped-by: Elijah Newren Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/fsck.c | 55 ++---