Commit Diff


commit - 93ec1b5f61be6b14b8a156395d7cabe098814948
commit + 877a927c9c9f96ec4bb7392082698c19706de865
blob - dee4807ee7918fb60d125d610bee740651ad28b7
blob + 9ac24a53d4669d51aa38c51895804cbea09c1fc1
--- lib/worktree.c
+++ lib/worktree.c
@@ -3733,7 +3733,7 @@ got_worktree_rebase_merge_files(struct got_worktree *w
 	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_
 
 	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)