bufbuild / buf

The best way of working with Protocol Buffers.
https://buf.build
Apache License 2.0
8.49k stars 247 forks source link

Set environment when running git commands #3103

Closed pkwarren closed 1 week ago

pkwarren commented 1 week ago

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.