Skip to content

Commit

Permalink
Azure go-git hack comment
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcabello committed Jan 9, 2024
1 parent 25aa6d8 commit 83dd07f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/gitcloner/gogit/cloner.go
Expand Up @@ -43,6 +43,9 @@ func (c *Cloner) CloneRepo(opts *cmd.Options) error {
// Azure DevOps requires capabilities multi_ack / multi_ack_detailed,
// which are not fully implemented and by default are included in
// transport.UnsupportedCapabilities.
// Public repos in Azure can't be cloned.
// This can be removed once go-git implements the git v2 protocol.
// https://github.com/go-git/go-git/issues/64
transport.UnsupportedCapabilities = []capability.Capability{
capability.ThinPack,
}
Expand Down

0 comments on commit 83dd07f

Please sign in to comment.