History

change!: Use `helper::Context` in `helper::Action::Fill()` (#450)

That way additional information, like from configuration, can be passed as well.

Sebastian Thiel committed 4 years ago

Commit 9c6f0241 parent 0e76efe5 files · +22 −147Browse files

Showing the changes to git-credentials/src/program.rs (1 of 5 files). Show all

Unified · Split

git-credentials/src/program.rs+1−1
@@ -12,7 +12,7 @@ impl Helper for Program { · 11 unmodified lines
1212 type Send = std::process::ChildStdin;
1313 type Receive = std::process::ChildStdout;
1414
15− fn start(&mut self, action: &helper::Action<'_>) -> std::io::Result<(Self::Send, Option<Self::Receive>)> {
15+ fn start(&mut self, action: &helper::Action) -> std::io::Result<(Self::Send, Option<Self::Receive>)> {
1616 match self {
1717 Program::Ready(kind) => {
1818 let (mut cmd, is_custom) = match kind {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t