Merge branch 'tb/t5601-sed-fix'
[gitweb.git] / worktree.c
index 6181a66f1ee2e1e45d7d8b2c88d312746473661f..89ebe67a505f6e7772f74bd92363230955dc2b74 100644 (file)
@@ -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