diff options
| author | Austin Horstman <khaneliman12@gmail.com> | 2025-04-21 14:07:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-21 14:07:02 -0700 |
| commit | b47b3a9427a694f81e37e1dcb59e8cba5675d681 (patch) | |
| tree | 4d9fb0df85f6333239fb85660cea1377a6287ea7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | c6e59efa8a9730f5c832704dd85f6393902a926a (diff) | |
| parent | 74e7f9768b19ae1a3b75632db42b25bf1011ac5e (diff) | |
git: move credential helpers to exec path (#347515)
Currently if the credential helpers packaged with git aren't on your PATH, git will fail to locate them. This most notably affects git maintanence1 which generates systemd units / launchd agents that invoke git directly without setting PATH. Home Manager is also able to generate maintanence units for systemd and does not set PATH2, meaning credential helpers will not work without additional configuration.
Moving the credential helpers to git's exec path3 allows git to locate them regardless of how PATH is set, and matches the packaging of Fedora4 and Homebrew5. Typically credential helpers are not added to PATH unless they are provided by another package separate from git (e.g. git-credential-gcloud).
I opted to create symlinks at the old bin paths in case some users were relying on invoking them directly. In practice I doubt this is done much. If we want to slim down git's bin dir I think the symlinks could be removed, and in doing so we'd better match the packaging done in other distributions.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
