Skip to contentSkip to conversation

worktree.c: fix typo

PATCH New Li Peng 1 participant 1 message Jun 16, 2016

lore
Share & tools
lore

Li Peng

author
#0 lore raw

PATCH 1/1 worktree.c: fix typo

Fix a typo in comment.

---
 worktree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
worktree.c +1 -1
index 6181a66..89ebe67 100644
@@ -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
Signature · 1 line
1.8.3.1