Guest User

Untitled

a guest
Aug 27th, 2025
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/sh
  2. # Installed by 'guix git authenticate'.
  3. set -e
  4.  
  5. # The "empty hash" used by Git when pushing a branch deletion.
  6. z40=0000000000000000000000000000000000000000
  7.  
  8. while read local_ref local_oid remote_ref remote_oid
  9. do
  10. if [ "$local_oid" != "$z40" ]
  11. then
  12. guix git authenticate --end="$local_oid"
  13. fi
  14. done
Advertisement
Add Comment
Please, Sign In to add comment