Commit 877a927c9c9f96ec4bb7392082698c19706de865

Stefan Sperling 2019-07-12T16:26:05

fix typo in comments

diff --git a/lib/worktree.c b/lib/worktree.c
index dee4807..9ac24a5 100644
--- a/lib/worktree.c
+++ b/lib/worktree.c
@@ -3733,7 +3733,7 @@ got_worktree_rebase_merge_files(struct got_worktree *worktree,
 	char *fileindex_path, *commit_ref_name = NULL;
 	struct got_reference *commit_ref = NULL;
 
-	/* Work tree is locked/unlocked during rebase prepartion/teardown. */
+	/* Work tree is locked/unlocked during rebase preparation/teardown. */
 
 	err = open_fileindex(&fileindex, &fileindex_path, worktree);
 	if (err)
@@ -3797,7 +3797,7 @@ got_worktree_rebase_commit(struct got_object_id **new_commit_id,
 
 	TAILQ_INIT(&commitable_paths);
 
-	/* Work tree is locked/unlocked during rebase prepartion/teardown. */
+	/* Work tree is locked/unlocked during rebase preparation/teardown. */
 
 	err = get_rebase_commit_ref_name(&commit_ref_name, worktree);
 	if (err)