diff options
author | ZingyAwesome <development@zingyawesome.com> | 2024-03-24 22:14:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 15:14:07 -0700 |
commit | ef6abbba0f75da7e4c20f07bbe54d58760812602 (patch) | |
tree | 67983d48151a5ce32a503efee4d0a6f3f9135848 | |
parent | 3342544dfb6ece125c89006b0c26cf5ffbad6842 (diff) |
Fix typo in commit.rs (#2150)
-rw-r--r-- | asyncgit/src/sync/commit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncgit/src/sync/commit.rs b/asyncgit/src/sync/commit.rs index 01d8a878..903dbcca 100644 --- a/asyncgit/src/sync/commit.rs +++ b/asyncgit/src/sync/commit.rs @@ -126,7 +126,7 @@ pub fn commit(repo_path: &RepoPath, msg: &str) -> Result<CommitId> { // manually advance to the new commit ID // repo.commit does that on its own, repo.commit_signed does not - // if there is no head, read default branch or defaul to "master" + // if there is no head, read default branch or default to "master" if let Ok(mut head) = repo.head() { head.set_target(commit_id, msg)?; } else { |