Skip to content

Commit

Permalink
Merge pull request #174 from baoyachi/issue/173
Browse files Browse the repository at this point in the history
Changing Git CLI is not necessary
  • Loading branch information
baoyachi authored Aug 14, 2024
2 parents aa804ec + 3f6e5ce commit deeca3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
32 changes: 0 additions & 32 deletions CHANGELOG.md

This file was deleted.

4 changes: 3 additions & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ impl Git {

fn init(&mut self, path: &Path, std_env: &BTreeMap<String, String>) -> SdResult<()> {
// First, try executing using the git command.
self.init_git()?;
if let Err(err) = self.init_git() {
println!("{err}");
}

// If the git2 feature is enabled, then replace the corresponding values with git2.
self.init_git2(path)?;
Expand Down

0 comments on commit deeca3c

Please sign in to comment.