You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found an odd scenario in the git command line. Not sure how to handle this.
Git exec path oddity.
Usage:
git [--exec-path[=<path>]] <command> [<args>]
Options:
--exec-path[=<path>]
Path to wherever your core Git programs are installed. This
can also be controlled by setting the GIT_EXEC_PATH
environment variable. If no path is given, git will print the
current setting and then exit.
The text was updated successfully, but these errors were encountered:
I don't think we can expect that to work since the usage isn't valid per the docopt spec to date; options cannot have optional values themselves. There's even an issue open that specifically calls out the above case. What's unfortunate is that there's no error for a non-conforming usage so one is mislead to think that it will work, but in the above case, =<path> is seen as a command (see try.docopt.org). It's the same for docopt.net, which builds the following pattern tree:
Found an odd scenario in the git command line. Not sure how to handle this.
The text was updated successfully, but these errors were encountered: