Merge branch 'nd/per-worktree-ref-iteration'
commite146cc97be4c054c60d38e9f4edcdc33205bf563
authorJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2018 13:37:26 +0000 (13 22:37 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2018 13:37:26 +0000 (13 22:37 +0900)
treeb36de8c572922ac1c0fda47c028cd7ccd8fd7a35
parent11aa560de964e800aabce446d600ab0fb4c90c20
parent14f74d59072c7bf0586b15165538373bed898f18
Merge branch 'nd/per-worktree-ref-iteration'

The code to traverse objects for reachability, used to decide what
objects are unreferenced and expendable, have been taught to also
consider per-worktree refs of other worktrees as starting points to
prevent data loss.

* nd/per-worktree-ref-iteration:
  git-worktree.txt: correct linkgit command name
  reflog expire: cover reflog from all worktrees
  fsck: check HEAD and reflog from other worktrees
  fsck: move fsck_head_link() to get_default_heads() to avoid some globals
  revision.c: better error reporting on ref from different worktrees
  revision.c: correct a parameter name
  refs: new ref types to make per-worktree refs visible to all worktrees
  Add a place for (not) sharing stuff between worktrees
  refs.c: indent with tabs, not spaces
Documentation/git-worktree.txt
Documentation/gitrepository-layout.txt
builtin/fsck.c
builtin/reflog.c
path.c
refs.c
refs.h
revision.c
t/t1450-fsck.sh
worktree.c
worktree.h