summaryrefslogtreecommitdiff
path: root/t/t3320-notes-merge-worktrees.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-08-11notes: handle multiple worktreesLibravatar David Turner1-0/+72
Before creating NOTES_MERGE_REF, check NOTES_MERGE_REF using find_shared_symref and die if we find one. This prevents simultaneous merges to the same notes branch from different worktrees. Signed-off-by: David Turner <dturner@twopensource.com> Reviewed-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>