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
When I try to run datadog-ci to upload git information I have the error presented below:
git version 2.47.0
Option --git-sync is deprecated as it is now the default behavior
Uploading list of tracked files...
Reporting commit *** from repository https://dev.azure.com/***
99 tracked file paths will be reported.
Successfully uploaded tracked files in 0.396 seconds.
Syncing GitDB...
[unshallow] Git repository is a shallow clone, unshallowing it...
[unshallow] Running git fetch --shallow-since="1 month ago" --update-shallow --filter=blob:none --recurse-submodules=no $(git config --default origin --get clone.defaultRemoteName) $(git rev-parse HEAD)
[unshallow] Failed to unshallow: Error: fatal: Server does not support --shallow-since
fatal: the remote end hung up unexpectedly
Bug description
Hi everyone!
When I try to run datadog-ci to upload git information I have the error presented below:
git version 2.47.0
Option --git-sync is deprecated as it is now the default behavior$(git config --default origin --get clone.defaultRemoteName) $ (git rev-parse HEAD)
Uploading list of tracked files...
Reporting commit *** from repository https://dev.azure.com/***
99 tracked file paths will be reported.
Successfully uploaded tracked files in 0.396 seconds.
Syncing GitDB...
[unshallow] Git repository is a shallow clone, unshallowing it...
[unshallow] Running git fetch --shallow-since="1 month ago" --update-shallow --filter=blob:none --recurse-submodules=no
[unshallow] Failed to unshallow: Error: fatal: Server does not support --shallow-since
fatal: the remote end hung up unexpectedly
[unshallow] Running git fetch --shallow-since="1 month ago" --update-shallow --filter=blob:none --recurse-submodules=no$(git config --default origin --get clone.defaultRemoteName) $ (git rev-parse --abbrev-ref --symbolic-full-name @{upstream})
[unshallow] Failed to unshallow again: Error: error: unknown option `abbrev-ref --symbolic-full-name @{upstream}'
Tested with git 2.39.2 and it works fine, however I cannot change the git version 2.47.0
Thank you.
Best Regards.
Describe what you expected
Expected a normal upload of the git data
Steps to reproduce the issue
No response
Additional context
node version: v18.13.0
npm version: v8.19.3
datadog-ci: 2.46.2
Command
None
The text was updated successfully, but these errors were encountered: