automatic-branch-cut: Remove check for `netrc_file` environment variable
The branch.py
script will now set up a credential helper for git
operations that reuses the resolved Gerrit API credentials (from either
the username/password in the config or via requests
netrc resolution
which will considered the standard NETRC
environment variable). This
obviates the need to set up a .netrc
file in the home directory.
Bug: T373441
Related MRs:
- !112 (merged) (This MR)
- !111 (merged)
- main-I60c90f33e3a2d82df11b953131508fbbec47d477