You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identity added: /tmp/git-resource-private-key (/tmp/git-resource-private-key)
Initialized empty Git repository in /tmp/build/get/.git
error: Server does not allow request for unadvertised object [sha from version.ref]
I notice that the official git resource uses a different command: git clone --single-branch $depthflag $uri $branchflag $destination $tagflag
Is it possible to switch that line out?
The text was updated successfully, but these errors were encountered:
I think merely switching the line is not easily possible, i.e. gate-resource uses a simplified in script without support for $branchflag etc.
The error you're getting appears to be related to the git server you use, maybe it won't support directly fetching a ref? We use gate-resource with GitHub without problems, but I know that e.g. BitBucket Cloud uses a git version that's too old to support this.
gate-resource/assets/git-in
Line 58 in 92f56fa
Seems to be causing failures when I get gates:
I notice that the official git resource uses a different command:
git clone --single-branch $depthflag $uri $branchflag $destination $tagflag
Is it possible to switch that line out?
The text was updated successfully, but these errors were encountered: