summaryrefslogtreecommitdiff
path: root/t/t2070-restore.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-12-21 15:03:16 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-21 15:03:16 -0800
commit13fa77b6899d0068303761c449d9a7e01dd85eb8 (patch)
treeb15e735aa90f701444aaa66ab080695f10a85549 /t/t2070-restore.sh
parentMerge branch 'fs/ssh-signing-other-keytypes' (diff)
parentbranch: protect branches checked out in all worktrees (diff)
downloadtgif-13fa77b6899d0068303761c449d9a7e01dd85eb8.tar.xz
Merge branch 'ak/protect-any-current-branch'
"git fetch" without the "--update-head-ok" option ought to protect a checked out branch from getting updated, to prevent the working tree that checks it out to go out of sync. The code was written before the use of "git worktree" got widespread, and only checked the branch that was checked out in the current worktree, which has been updated. (originally called ak/fetch-not-overwrite-any-current-branch) * ak/protect-any-current-branch: branch: protect branches checked out in all worktrees receive-pack: protect current branch for bare repository worktree receive-pack: clean dead code from update_worktree() fetch: protect branches checked out in all worktrees worktree: simplify find_shared_symref() memory ownership model branch: lowercase error messages receive-pack: lowercase error messages fetch: lowercase error messages
Diffstat (limited to 't/t2070-restore.sh')
0 files changed, 0 insertions, 0 deletions