pacman/scripts/libmakepkg/source
soloturn e017a5975c makepkg: Add GITFLAGS environmental variable to customise checkout
The default flag used to clone a git repository when using makepkg
is "--mirror". However, when working with huge repositories, the use
of different flags during cloning can allow an faster checkout. For
example, using "--filter=blob:none" allows for small checkouts, at
the expense of requiring downloads during the build stage if anything
but the HEAD commit is used for the build. In addition, this example
would serve as a replacement for the often requested (but broken)
addition of --depth=1.

Add support for the environment variable GITFLAG to pass flags for
the git clone command. Note that this overrides the default rather
than adding to it in order to prevent incompatibilities.
2022-07-29 11:00:01 +10:00
..
bzr.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
file.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
fossil.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
git.sh.in makepkg: Add GITFLAGS environmental variable to customise checkout 2022-07-29 11:00:01 +10:00
hg.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
local.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Add fossil scm support to makepkg 2020-11-26 21:58:40 +10:00
svn.sh.in Update copyright years 2022-01-02 13:34:52 +10:00