run-command: fix Unix PATH lookup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | t5410: use longer path for sample scriptt/ | +1 | 2 replies | |
| 2/2 | run-command: mark path lookup errors with ENOENTrun-command.c t/ | +28 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] run-command: fix Unix PATH lookup
This series fixes a bug where run-command.c accidentally runs commands from the current directory when they are not found in the $PATH.
The second patch is the interesting one. The first one is just a necessary cleanup. Possibly this should be split into two topics: the second patch slated for maint, and then the first one as an independent fixup on tb/filter-alternate-refs (which is in master).
[1/2]: t5410: use longer path for sample script [2/2]: run-command: mark path lookup errors with ENOENT
run-command.c | 20 ++++++++++++++++---- t/t0061-run-command.sh | 13 ++++++++++++- t/t5410-receive-pack-alternates.sh | 2 +- 3 files changed, 29 insertions(+), 6 deletions(-)
-Peff