post-merge 431 B

123456789101112131415
  1. #!/bin/bash
  2. #This hook launches after a git pull. It cannot affect a git merge, and will not
  3. #be executed if a merge fails
  4. #See https://git-scm.com/docs/githooks#_post_merge
  5. if [[ -L "$0" ]]; then
  6. #If our launched script is a link, grab the root
  7. hookRoot="$(dirname $(readlink --canonicalize $0))"
  8. else
  9. #Otherwise use the launched script directory
  10. hookRoot="$(dirname "$0")"
  11. fi
  12. "${hookRoot}/update_editor.sh" $0