ef-labs / stash-hook-mirror

An Atlassian Stash repository hook for mirroring to one or more remote git repositories.
MIT License
77 stars 58 forks source link

Error "the receiving end does not support --atomic push" when using with AWS CodeCommit #57

Closed derdeka closed 6 years ago

derdeka commented 6 years ago

After upgrade from v2.1.0 to v2.3.0 the sync with aws codecommit is broken - i got the following message in bitbutcket error logs:

com.atlassian.bitbucket.scm.CommandFailedException: '/usr/bin/git push --prune --atomic ssh://codecommit-eu-central-1/v1/repos/test --force +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/*' exited with code 128 saying: fatal: the receiving end does not support --atomic push

It seems that codecommit does not support atomic commits. Is ist possible to make "Atomic commit" as an option/checkbox?

stweise commented 6 years ago

Having the same issue. +1

adrianluisgonzalez commented 6 years ago

Released v2.3.1