aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-01-24 16:29:41 +0100
committerLibravatar Rutger Broekhoff2024-01-24 16:29:41 +0100
commit894e16f222c02ebad4460fce4247fa1f5e67c14b (patch)
tree24e7ee689b558579eaee5abbd03089acb1aaf80c
parentc16ca29d44bf42dd0a08bae4ebb82c8e93738f67 (diff)
downloadgitolfs3-894e16f222c02ebad4460fce4247fa1f5e67c14b.tar.gz
gitolfs3-894e16f222c02ebad4460fce4247fa1f5e67c14b.zip
Fix running git commands
-rw-r--r--rs/shell/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rs/shell/src/main.rs b/rs/shell/src/main.rs
index 02da053..b9c50d8 100644
--- a/rs/shell/src/main.rs
+++ b/rs/shell/src/main.rs
@@ -116,7 +116,7 @@ fn main() -> ExitCode {
116 116
117 let mut args = Vec::new(); 117 let mut args = Vec::new();
118 118
119 let git_cmds = ["receive-pack", "upload-archive", "upload-pack"]; 119 let git_cmds = ["git-receive-pack", "git-upload-archive", "git-upload-pack"];
120 if git_cmds.contains(&program.as_str()) { 120 if git_cmds.contains(&program.as_str()) {
121 if cmd.len() != 1 { 121 if cmd.len() != 1 {
122 eprintln!("Bad command"); 122 eprintln!("Bad command");