diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-07 09:52:55 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-07 09:53:22 -0700 |
commit | 56b9d113e8bfda7c8a1e99346d05da4c74847a48 (patch) | |
tree | bcd6c508d14c7892d8d8f586be9ccd52fd7d2567 /bin/git-dotfiles-update-master | |
parent | b9b15f3f18d6c8733341bcbfcfc47c8443a2ef91 (diff) | |
download | dotfiles-56b9d113e8bfda7c8a1e99346d05da4c74847a48.tar.gz |
factor out git-verify-commit-spw
Diffstat (limited to 'bin/git-dotfiles-update-master')
-rwxr-xr-x | bin/git-dotfiles-update-master | 3 |
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 |