From: Elijah Newren Date: Sun, 21 Oct 2018 08:08:57 +0000 (+0200) Subject: fsck: move fsck_head_link() to get_default_heads() to avoid some globals X-Git-Tag: v2.20.0-rc0~35^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a8c754d4e2ced5439c23e8cf4636c24749ea1ddc?hp=a8c754d4e2ced5439c23e8cf4636c24749ea1ddc fsck: move fsck_head_link() to get_default_heads() to avoid some globals This will make it easier to check the HEAD of other worktrees from fsck. Signed-off-by: Elijah Newren Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---