git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] run-command: fix Unix PATH lookup
@ 2018-10-24  7:36 Jeff King
  2018-10-24  7:37 ` [PATCH 1/2] t5410: use longer path for sample script Jeff King
  2018-10-24  7:38 ` [PATCH 2/2] run-command: mark path lookup errors with ENOENT Jeff King
  0 siblings, 2 replies; 8+ messages in thread
From: Jeff King @ 2018-10-24  7:36 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-10-25  1:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24  7:36 [PATCH 0/2] run-command: fix Unix PATH lookup Jeff King
2018-10-24  7:37 ` [PATCH 1/2] t5410: use longer path for sample script Jeff King
2018-10-24  8:53   ` Johannes Schindelin
2018-10-25  1:15     ` Junio C Hamano
2018-10-24  7:38 ` [PATCH 2/2] run-command: mark path lookup errors with ENOENT Jeff King
2018-10-24  9:01   ` Johannes Schindelin
2018-10-24  9:16     ` Jeff King
2018-10-24  9:25       ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).