Could you elaborate on the weird behaviour introduced by pipefail
?
Could you elaborate on the weird behaviour introduced by pipefail
?
This is a docker/bash question, not a python question. Also reading the error message explains the problem.
Maybe pygit2 is indeed the way to go. When I looked into it a while back it looked very low level like it only implemented the git plumbing. But maybe I looked at the wrong part of the docs, because it doesn’t look too bad.
You’d still only get strings as returns. No objects modeling git concepts.
Thanks. Bash should just be avoided except trivial uses. It has an impressive collection of footguns. I’ve written a lot of bash, even used it for CGI scripts to create web tools, but honestly it is time to move on. Ansible and Python cover most of the bash use cases.