Allow publishing from shallow clone
Allow publishing from shallow clone

Previously this operation was forbidden in versions of Git CLI < 1.9.0
(see http://stackoverflow.com/q/6900103 for more details).

Now this operation will succeed using newer client version, but it will
fail when using an old version due to
https://github.com/jenkinsci/git-client-plugin/pull/192

Fixes [JENKINS-31108].

mklein0/git-plugin,mlgiroux/git-plugin,kzantow/git-plugin,mlgiroux/git-plugin,kzantow/git-plugin,jenkinsci/git-plugin,MarkEWaite/git-plugin,MarkEWaite/git-plugin,jenkinsci/git-plugin,loomchild/git-plugin,martinda/git-plugin,ndeloof/git-plugin,recena/git-plugin,Deveo/git-plugin,jenkinsci/git-plugin,kzantow/git-plugin,recena/git-plugin,Deveo/git-plugin,v1v/git-plugin,jacob-keller/git-plugin,mklein0/git-plugin,v1v/git-plugin,MarkEWaite/git-plugin,recena/git-plugin,ndeloof/git-plugin,jenkinsci/git-plugin,mklein0/git-plugin,ndeloof/git-plugin,jacob-keller/git-plugin,MarkEWaite/git-plugin,v1v/git-plugin,martinda/git-plugin,mlgiroux/git-plugin,loomchild/git-plugin,martinda/git-plugin,jacob-keller/git-plugin,Deveo/git-plugin,loomchild/git-plugin