mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
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:
parent
b2c8f2848b
commit
113b8b8dfe
2 changed files with 4 additions and 2 deletions
|
|
@ -181,8 +181,7 @@ impl InitCommand {
|
|||
}
|
||||
|
||||
if did_git_init {
|
||||
log::debug!("Committing initial project...");
|
||||
|
||||
log::info!("Staging initial project...");
|
||||
let _ = Command::new("git")
|
||||
.args(["add", "."])
|
||||
.current_dir(&base_path)
|
||||
|
|
@ -191,6 +190,7 @@ impl InitCommand {
|
|||
.stderr(Stdio::null())
|
||||
.status();
|
||||
|
||||
log::info!("Committing initial project...");
|
||||
let _ = Command::new("git")
|
||||
.args(["commit", "--no-verify", "-m", "Initial commit"])
|
||||
.current_dir(&base_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue