summaryrefslogtreecommitdiff
path: root/bin/git-dotfiles-update-master
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git-dotfiles-update-master')
-rwxr-xr-xbin/git-dotfiles-update-master3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/git-dotfiles-update-master b/bin/git-dotfiles-update-master
index 17d3e99d..abdeeff8 100755
--- a/bin/git-dotfiles-update-master
+++ b/bin/git-dotfiles-update-master
@@ -20,8 +20,7 @@ if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then
fi
git fetch origin
-if git verify-commit-by-fp \
- 8DC2487E51ABDD90B5C4753F0F56D0553B6D411B origin/master; then
+if git verify-commit-spw origin/master; then
# we only fast-forward master, to avoid the possibility of an
# attacker causing us to check out an older signed commit than the
# one we have now