Git agent-side checkout fails due to invalid chars in lock file

Completed

Hi,

First checkout works properly, after that, the checkout fails with:

"

Failed to perform checkout on agent...

error: cannot lock ref 'refs/tags/MyTag>>>>>>>_merge_rev': Unable to create 'C:/BuildAgent/work/buildBranch/.git/refs/tags/MyTag>>>>>>>_merge_rev.lock': Invalid argument

! [new tag] MyTag>>>>>>>_merge_rev -> MyTag>>>>>>>_merge_rev (unable to update local ref)

"

Seems to me that it's trying to create a file with the '>' character, which is not allowed on Windows.

Why's that? how do I fix it?

 

Thanks!

1
1 comment
Avatar
Permanently deleted user
0

Please sign in to leave a comment.