Commit 479c06b
committed
Refine
This enforces requirements more precisely and, overall, more
robustly, when validating and converting `git --exec-path` output
to a `PathBuf`.
This also no longer redirect standard error to the null device when
running that command. No stderr output is expected; if there is any
such output, it's better seen than thrown away.EXEC_PATH validation in spawn_git_daemon
1 parent da03932 commit 479c06b
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | | - | |
193 | 192 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
0 commit comments