git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 2/5] Documentation/git-worktree: fix incorrect reference to file "locked"

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jul 20, 2015, 05:29 UTC
Message-ID
<1437370162-8031-3-git-send-email-sunshine@sunshineco.com>
In-Reply-To
<1437370162-8031-1-git-send-email-sunshine@sunshineco.com>
From: Michael Haggerty <mhagger@alum.mit.edu>
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 <mhagger@alum.mit.edu>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
---
 Documentation/git-worktree.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
index 60e5cf9..a6d8ad7 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -39,7 +39,7 @@ repository so that they do not get automatically pruned.
 
 If a linked working tree is stored on a portable device or network share
 which is not always mounted, you can prevent its administrative files from
-being pruned by creating a file named 'lock' alongside the other
+being pruned by creating a file named 'locked' alongside the other
 administrative files, optionally containing a plain text reason that
 pruning should be suppressed. See section "DETAILS" for more information.
 
-- 
2.5.0.rc2.386.g87d813d
Previous: Eric SunshineNext: Eric Sunshine
Message 3 of 9 in “mh: worktree-related doc fixes”
  1. 0/5 mh: worktree-related doc fixesEric Sunshine, Jul 20, 2015
  2. 1/5 Documentation/git-worktree: consistently use term "linked working tree"Eric Sunshine, Jul 20, 2015
  3. 2/5 Documentation/git-worktree: fix incorrect reference to file "locked"Eric Sunshine, Jul 20, 2015
  4. 3/5 Documentation/config: fix stale "git prune --worktree" referenceEric Sunshine, Jul 20, 2015
  5. 4/5 Documentation/git-worktree: wordsmith worktree-related manpagesEric Sunshine, Jul 20, 2015
  6. 5/5 config: rename "gc.pruneWorktreesExpire" to "gc.worktreePruneExpire"Eric Sunshine, Jul 20, 2015
  7. Michael HaggertyJul 20, 2015
  8. Eric SunshineJul 24, 2015
  9. Junio C HamanoJul 24, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.