In Git2 error fixing, opening the repo is still currently unavailable.
This commit is contained in:
@@ -77,7 +77,7 @@ pub struct CommitCommand {
|
||||
impl CommitCommand {
|
||||
pub async fn execute(&self) -> Result<()> {
|
||||
// Find git repository
|
||||
let repo = find_repo(".")?;
|
||||
let repo = find_repo(std::env::current_dir()?.as_path())?;
|
||||
|
||||
// Check for changes
|
||||
let status = repo.status_summary()?;
|
||||
|
||||
Reference in New Issue
Block a user