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

[PATCH] worktree.c: fix typo

From
LPLi Peng <lip@dtdream.com>
Date
May 6, 2016, 11:39 UTC
Message-ID
<1462534763-15655-1-git-send-email-lip@dtdream.com>
Fix a typo in comment.
Signed-off-by: Li Peng <lip@dtdream.com>
---
 worktree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/worktree.c b/worktree.c
index 6181a66..89ebe67 100644
--- a/worktree.c
+++ b/worktree.c
@@ -18,7 +18,7 @@ void free_worktrees(struct worktree **worktrees)
 
 /*
  * read 'path_to_ref' into 'ref'.  Also if is_detached is not NULL,
- * set is_detached to 1 (0) if the ref is detatched (is not detached).
+ * set is_detached to 1 (0) if the ref is detached (is not detached).
  *
  * $GIT_COMMON_DIR/$symref (e.g. HEAD) is practically outside $GIT_DIR so
  * for linked worktrees, `resolve_ref_unsafe()` won't work (it uses
-- 
1.8.3.1
Message 1 of 1 in “worktree.c: fix typo”
  1. worktree.c: fix typoLi Peng, May 6, 2016

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.