Git commands often need to shell out to other commands, and so running consistently with the environment set (in particular PATH) fixes issues running in certain environments.
Additionally, wrap a few errors to make it easier to determine the reason for failures with the --git-metadata flag.
Git commands often need to shell out to other commands, and so running consistently with the environment set (in particular PATH) fixes issues running in certain environments.
Additionally, wrap a few errors to make it easier to determine the reason for failures with the --git-metadata flag.