mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
1279f56c56
This adds 2 new config options: - gitfs_disable_saltenv_mapping - This allows a user to disable the environment mapping logic and rely solely on per-saltenv configuration - gitfs_ref_types - This allows individual ref types to be ignored It also includes a performance improvement in retrieving tree objects matching the desired ref name. Before, we would iterate through the different refs and check if the name matched the desired ref's name. Now we just check for a head/tag ref based on the ref path in the gitdir (e.g. refs/remotes/origin/master or refs/tags/v1.2.3). This prevents us from needlessly iterating through all refs until a match is found, which does not scale well when the number of branches and tags is larger. |
||
---|---|---|
.. | ||
logging | ||
examples.rst | ||
index.rst | ||
master.rst | ||
minion.rst | ||
nonroot.rst | ||
proxy.rst |