Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Git CLI is not necessary #174

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading