[MacPorts] #63953: git: Configuration file is replaced on update
MacPorts
noreply at macports.org
Mon Dec 6 08:19:49 UTC 2021
#63953: git: Configuration file is replaced on update
----------------------+----------------------
Reporter: Bachsau | Owner: ci42
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: git |
----------------------+----------------------
Comment (by herbygillot):
Proposing a fix to this behavior with this PR: https://github.com/macports
/macports-ports/pull/13259
This changes things so that right when the git port is about to be
activated, it checks whether the gitconfig exists before creating a new
one with the osxkeychain configuration. If the file already exists, then
it will not overwrite. Instead, it will check the file contents to see
whether the desired configuration is already present in the gitconfig, and
only adds the configuration if it isn't.
--
Ticket URL: <https://trac.macports.org/ticket/63953#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list