Skip to content

Commit ef6abbb

Browse files
authored
Fix typo in commit.rs (#2150)
1 parent 3342544 commit ef6abbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncgit/src/sync/commit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ pub fn commit(repo_path: &RepoPath, msg: &str) -> Result<CommitId> {
126126

127127
// manually advance to the new commit ID
128128
// repo.commit does that on its own, repo.commit_signed does not
129-
// if there is no head, read default branch or defaul to "master"
129+
// if there is no head, read default branch or default to "master"
130130
if let Ok(mut head) = repo.head() {
131131
head.set_target(commit_id, msg)?;
132132
} else {

0 commit comments

Comments
 (0)