aboutsummaryrefslogtreecommitdiffstats
path: root/worktree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-17 14:38:20 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-17 14:38:20 -0700
commit3241d4f6fbaaa13ebb8a85b6e776e3a634f17b24 (patch)
tree971594f7274de6f56ff807463d7e6216c3430ea5 /worktree.c
parent21b2e60400754732bd509f393b3368f9fa530602 (diff)
parent832c0e5e63a0f61c3788847d4a7abb82d9e86ef4 (diff)
downloadgit-3241d4f6fbaaa13ebb8a85b6e776e3a634f17b24.tar.gz
Merge branch 'lp/typofixes'
* lp/typofixes: typofix: assorted typofixes in comments, documentation and messages
Diffstat (limited to 'worktree.c')
-rw-r--r--worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.c b/worktree.c
index 6181a66f1e..89ebe67a50 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