Skip to content

Implement --git-*-flags to allow the passing of arbitrary flags to git subcommands

The following discussion from !476 (merged) should be addressed:

  • @nejc started a discussion: (+3 comments)

    Just an idea - I like what gitlab-runner does with its GIT_*_FLAGS options (ok, I worked on some of those so I might be biased 😅 ).

    Adding this as a config option/flag with this as the default might give users a lot of power and we'd have less to worry about implementing on our side, e.g. if they want to still try shallow clones instead, clone submodules or other weird stuff for whatever reason. WDYT?