Skip to content

Commit 2e73ab6

Browse files
mhaggergitster
authored andcommitted
Documentation/git-worktree: fix incorrect reference to file "locked"
The administrative file to suppress pruning is named "locked", not "lock". [es: don't touch unrelated "git worktree lock" command; reword commit message] Signed-off-by: Michael Haggerty <[email protected]> Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bc48328 commit 2e73ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-worktree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repository so that they do not get automatically pruned.
3939

4040
If a linked working tree is stored on a portable device or network share
4141
which is not always mounted, you can prevent its administrative files from
42-
being pruned by creating a file named 'lock' alongside the other
42+
being pruned by creating a file named 'locked' alongside the other
4343
administrative files, optionally containing a plain text reason that
4444
pruning should be suppressed. See section "DETAILS" for more information.
4545

0 commit comments

Comments
 (0)