diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-06-12 11:36:55 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-06-12 12:19:36 +0300 |
| commit | 17a7ab73e32b1974e56f84173610540194c8ee9f (patch) | |
| tree | 06baf5679939113b5bddae4e5b233692f952423f /compiler/rustc_mir_transform/src | |
| parent | 76c73827dcd0b363e60b22c3cef64bde4171bf17 (diff) | |
| download | rust-17a7ab73e32b1974e56f84173610540194c8ee9f.tar.gz rust-17a7ab73e32b1974e56f84173610540194c8ee9f.zip | |
unify git command preperation
Due to https://github.com/rust-lang/rust/issues/125954, we had to modify git invocations with
certain flags in https://github.com/rust-lang/rust/pull/126255. However, because there are so many
instances of `Command::new("git")` in bootstrap, it is difficult to apply these solutions to all of
them.
This PR creates a helper function that unifies the git usage in bootstrap. Meaning, whenever special flags
or hacks are needed, we can apply them to this single function which makes things much simpler for the bootstrap team.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
