mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Enhance InitCommand Git configuration for improved usability
- Added `GIT_TERMINAL_PROMPT` environment variable set to `0` to suppress terminal prompts during Git operations. - Redirected standard input to null to prevent any interactive prompts, ensuring smoother initialization processes. These changes aim to enhance the user experience by streamlining the Git initialization workflow.
This commit is contained in:
parent
a071d1f0df
commit
8d17b1de1f
1 changed files with 2 additions and 0 deletions
|
|
@ -163,8 +163,10 @@ impl InitCommand {
|
||||||
".cursor",
|
".cursor",
|
||||||
])
|
])
|
||||||
.current_dir(&base_path)
|
.current_dir(&base_path)
|
||||||
|
.stdin(Stdio::null())
|
||||||
.stdout(Stdio::null())
|
.stdout(Stdio::null())
|
||||||
.stderr(Stdio::null())
|
.stderr(Stdio::null())
|
||||||
|
.env("GIT_TERMINAL_PROMPT", "0")
|
||||||
.status();
|
.status();
|
||||||
|
|
||||||
match result {
|
match result {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue