Repository navigation
simple-git@4.2.1
Patch Changes
-
4bbbf1b:
git.cmdandpathspec()values can no longer be read bygitas options in two cases:git pullandgit remote updatepass the arguments after--to thegit fetchthey run without a--of their
own. Values starting with-after--, andpathspec()values starting with-, are now rejected for these
commands, and when used through trusted inputs such asgit.raw()they are analysed by the unsafe actions checks
as options.- A literal
--in agit.cmdtemplate only ends the options whengitcan't read it as the value of the option
before it (for examplecommit -m -- ${value}uses--as the commit message). Otherwise values starting with-
are rejected after it.
forwardsPathsAsOptionsis exported from@simple-git/argv-parser. -
Updated dependencies [4bbbf1b]
- @simple-git/argv-parser@3.1.1