Code

History

Commits on encoding-fallback to gix-command/tests35+
  1. Add tests for `$0` deriving from the actually-running shellEliah Kagan committed 5 months agod62e33c
  2. Pass sh (not --) as $0 to sh -cSarthakB11 committed 5 months ago6752a96
  3. reviewGPT 5.5 committed 6 months ago1980190
  4. Document why each fixture archive is .gitignoredSarthakB11 committed 6 months agoe3d5a04
  5. Update crates to Rust 2024 editionGPT 5.5 committed 6 months ago2cb17b2
  6. add fuzz tests for 10 more crates, and related fixesGPT 5.4 committed 6 months ago0396152
  7. fix gix-command expectations which changed with Rust 1.93Sebastian Thiel committed 9 months agocc3310b
  8. Don't run `shell_builtin_or_command_in_path*` on WindowsEliah Kagan committed 10 months ago81fa44c
  9. Add tests that call `with_shell()` to force shell builtinsEliah Kagan committed 10 months agod2d75bb
  10. Add fixed `sh_shell_specific_script_code_with*` testsEliah Kagan committed 10 months ago32dce7c
  11. Reorder `spawn::with_shell` test casesEliah Kagan committed 10 months ago909f961
  12. Add a zero-argument test case like those just renamedEliah Kagan committed 10 months agod08333c
  13. Rename tests that meant to run builtins but run external commandsEliah Kagan committed 10 months ago5af8987
  14. Fix tests of `gix-command` external commands on WindowsEliah Kagan committed 10 months ago548e658
  15. Fixup Copilot commits and thank clippySebastian Thiel committed 1 year agob188a7d
  16. Update MSRV to 1.82 and replace once_cell with std equivalentscopilot-swe-agent[bot] committed 1 year ago6cc8464
  17. fix: `Prepare::with_shell()` now assures manual argument splitting isn't done on Windows either.Sebastian Thiel committed 1 year agoa5ba202
  18. j fmtSebastian Thiel committed 1 year agoc3c6504
  19. Use raw literals for more strings with backslashesEliah Kagan committed 1 year ago01bd76d
  20. feat: Use `gix_path::env::shell()` in `gix-command` for shEliah Kagan committed 1 year agoc7d06a6
  21. Test environment_variables_are_passed_one_by_one on WindowsEliah Kagan committed 1 year ago4fc1092
  22. Fix and enable disallow_shell test on WindowsEliah Kagan committed 1 year ago0e451d0
  23. fix hardcoded path test on nixosBryce Berger committed 1 year agob085899
  24. feat: add `Preprae::with_quoted_command()` (#1799)Sebastian Thiel committed 1 year ago435984b
  25. fix!: rename `with_shell()` to `command_may_be_shell_script()`, add `with_shell()` to enforce using a shell.Sebastian Thiel committed 1 year ago667de43
  26. fix!: rename `Prepare::with_shell_allow_argument_splitting()` to `Prepare::with_shell_allow_manual_argument_splitting()`Sebastian Thiel committed 1 year ago4d9bded
  27. feat: add `Prepare::with_shell_disallow_manual_argument_splitting()`.Sebastian Thiel committed 1 year ago26c274d
  28. feat!: allow to choose the shell to use with `Prepare::with_shell_program()`.Sebastian Thiel committed 1 year ago838420f
  29. remove binary files in favor of `tar` filesSebastian Thiel committed 2 years agodcab79a
  30. Make bash script shebangs more portableEliah Kagan committed 2 years ago68cbea8
  31. Add missing +x bit on scripts that are run and not sourcedEliah Kagan committed 2 years ago41bf65a
  32. fix: Add test to assure `echo "$@" >&2` works as expected (#1284)Sebastian Thiel committed 2 years ago74631d4
  33. feat: on windows, try to parse the interpreter out of files.Sebastian Thiel committed 2 years ago33517d0
  34. feat: facilities to parse interpreters out of executables (windows compatible).Sebastian Thiel committed 2 years ago5708fee
  35. feat: Add `Context` to provide much more context just like `git` sets it. (#1129)Sebastian Thiel committed 2 years ago9d7e28d