]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fsck.c
fsck: check HEAD and reflog from other worktrees
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 21 Oct 2018 08:08:58 +0000 (10:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Oct 2018 04:32:54 +0000 (13:32 +0900)
commitb29759d89a688bf6d198786757111d690a08cbdf
treec78383c6302a679bea986621dddfb71eba8fc27a
parenta8c754d4e2ced5439c23e8cf4636c24749ea1ddc
fsck: check HEAD and reflog from other worktrees

fsck is a repo-wide operation and should check all references no
matter which worktree they are associated to.

Reported-by: Jeff King <peff@peff.net>
Helped-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fsck.c
t/t1450-fsck.sh