Skip to content

Make --prune a configurable parameter in fetching a git remote

Stan Hu requested to merge sh-make-git-fetch-prune-configurable-ee into master

EE port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17346

By default, --prune is added to the command-line of a git fetch operation, but for a new clone, this prune step isn't necessary. This change allows for that but does not actually change current behavior.

Merge request reports