summaryrefslogtreecommitdiff
path: root/Documentation/technical/protocol-capabilities.txt
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-08-23 19:37:01 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-24 14:58:47 -0700
commitacd9544a8fdcf8095c82c91365c45dcb93112be3 (patch)
tree0b2e19104274ef37dab7c5390134a38cd550f9b9 /Documentation/technical/protocol-capabilities.txt
parentfiles-backend: make reflog iterator go through per-worktree reflog (diff)
downloadtgif-acd9544a8fdcf8095c82c91365c45dcb93112be3.tar.xz
revision.c: --reflog add HEAD reflog from all worktrees
Note that add_other_reflogs_to_pending() is a bit inefficient, since it scans reflog for all refs of each worktree, including shared refs, so the shared ref's reflog is scanned over and over again. We could update refs API to pass "per-worktree only" flag to avoid that. But long term we should be able to obtain a "per-worktree only" ref store and would need to revert the changes in reflog iteration API. So let's just wait until then. add_reflogs_to_pending() is called by reachable.c so by default "git prune" will examine reflog from all worktrees. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/protocol-capabilities.txt')
0 files changed, 0 insertions, 0 deletions