[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 07aabb: Let the .git/hooks work for git 2.18 and later

Nicolas Cellier noreply at github.com
Thu Apr 11 12:12:13 UTC 2019

  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 07aabbaf15c6eac285faea94d370a7a373da69ab
  Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
    M scripts/updateSCCSVersions

  Log Message:
  Let the .git/hooks work for git 2.18 and later

GIT_DIR is not set any longer since git 2.18, so the hook is not recognized as running as hook
Replace with a test of $dirname $0 instead as suggested on SO

This should fix issue #389

More information about the Vm-dev mailing list