Closed wolph closed 6 years ago
#!/bin/bash
function sha512sum {
if [[ -e /usr/bin/sha512sum ]]; then
echo "available"
else
echo "not available"
fi
}
sha512sum
Also you could pass --hash gsha512
which should also work. Then you can do git config --global gpgit.hash gsha512
.
I am thinking about the shasum -a 512
variant and removing md5 support completely. However I think there are still people who then will complain :/
A wrapper would work too but I think using shasum -a ...
might be a better solution
And I don't think dropping md5sum is needed, it's just that the sha+sum methods are missing, shasum and md5sum are usually available.
@WoLpH thanks for the feedback! I've pushed some more commits with fixes and new features. It would be nice if you can give it a test on your non linux systems. I hope everything works fine so far.
Just FYI with the new -f, --force
option you can force to recreate a tag if you missed something minor in a short time after the release. You can also specify with commit/object to tag, as git tag
also does.
I will close the PR, as 1.3.1 should address your problems. If you have any new problem, let me know. I will update the AUR package now.
It's still not a walk in the park but should be doable now.
Better would be to replace the commands within the script so these steps aren't needed.
shasum -a 512
instead ofsha512sum
it would work just fine on both Linux and OS X./usr/local/Cellar/gnu-getopt/*/bin/getopt
before the regulargetopt
it would fix that symlink as well.