Improve logging in CloneCommand and InitCommand during git operations

- Added informational logging for staging and committing changes in both `CloneCommand` and `InitCommand`, enhancing visibility into the git process during project initialization and cloning.
This commit is contained in:
Joe 2026-02-06 22:46:54 -06:00
parent b2c8f2848b
commit 113b8b8dfe
2 changed files with 4 additions and 2 deletions

View file

@ -90,6 +90,7 @@ impl CloneCommand {
// Commit syncback result
if !skip_git {
log::info!("Staging syncback changes...");
let _ = Command::new("git")
.args(["add", "."])
.current_dir(&path)
@ -98,6 +99,7 @@ impl CloneCommand {
.stderr(Stdio::null())
.status();
log::info!("Committing syncback changes...");
let _ = Command::new("git")
.args(["commit", "--no-verify", "-m", "syncback"])
.current_dir(&path)