Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-04-12 16:58:05 +0300
committerJunio C Hamano <gitster@pobox.com>2017-04-21 03:59:02 +0300
commit507e6e9eecce5e7a2cc204c844bbb2f9b17b31e3 (patch)
treed90d7b0ab97c2e5e8cd288f83111f6a0364d2ea2 /Documentation/RelNotes/2.13.0.txt
parentcf11a67975b057a144618badf16dc4e3d25b9407 (diff)
worktree add: add --lock option
As explained in the document. This option has an advantage over the command sequence "git worktree add && git worktree lock": there will be no gap that somebody can accidentally "prune" the new worktree (or soon, explicitly "worktree remove" it). "worktree add" does keep a lock on while it's preparing the worktree. If --lock is specified, this lock remains after the worktree is created. Suggested-by: David Taylor <David.Taylor@dell.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.13.0.txt')
0 files changed, 0 insertions, 0 deletions