[pacman-dev] [PATCH] libmakepkg/source/git: Use --bare with a refspec instead of --mirror

Versus chaoskeeper at mail.ru
Sun Jan 20 17:40:40 UTC 2019


On 01/20/2019 07:30:21 PM, Eli Schwartz wrote:
> It's entirely possible that people use this to cherry-pick a patch  
> from
> a PR branch. That being said, I do consider it reasonable to not fetch
> this by default and pull in the patchfile via source=() if you do need
> it... but I wonder how often people might be relying on this behavior.

Is it possible to add something like GIT_OPTIONS or VCS_OPTIONS to
pass any custom options for clonning? For end user who wish to install
e.g. qgis from git but have no plans to hack it, clone with '--depth 1'
option would be _much_ faster.



More information about the pacman-dev mailing list