M4SS-Code / cargo-goggles

Verify that registry crates in your Cargo.lock are reproducible from the git repository
https://crates.io/crates/cargo-goggles
Apache License 2.0
36 stars 2 forks source link

fix(git): set GIT_TERMINAL_PROMPT=0 env variable #12

Closed paolobarbolini closed 3 months ago

paolobarbolini commented 3 months ago

If this Boolean environment variable is set to false, git will not prompt on the terminal (e.g., when asking for HTTP authentication).

As explained by the git docs this prevents private or deleted repositories from blocking the clone process by asking for credentials. Unfortunately, this doesn't seem to stop git from prompting about ssh key authenticity.