Skip to content

Commit

Permalink
fix: make certain git-credential helper implementations work from pro…
Browse files Browse the repository at this point in the history
…mpts on Windows (#1103)

On prompts, typically only `git.exe` is available, but no shell (i.e. `sh`), wo we have
to prefer going through `git.exe` to launch credential helpers.
  • Loading branch information
Byron committed Nov 14, 2023
1 parent 3ff1827 commit 87cbc58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gix-credentials/src/program/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ impl Program {
}
from_custom_definition_inner(input.into())
}

/// Convert the program into the respective command, suitable to invoke `action`.
pub fn to_command(&self, action: &helper::Action) -> std::process::Command {
todo!("fix")
}
}

/// Builder
Expand Down

0 comments on commit 87cbc58

Please sign in to comment.