summaryrefslogtreecommitdiffstats
path: root/hooks/commit-msg
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-11-27 11:17:13 -0800
committerJesse Hall <jessehall@google.com>2013-12-03 09:02:16 -0800
commit672cc499b9dce9c18ecd9dfc81fd18094535dc49 (patch)
treefabd598df21d7062baec16bf66a1fca505a968f7 /hooks/commit-msg
parent4534120628a8e3a7f82063757bbcb02107dd14d8 (diff)
downloadgit-repo-672cc499b9dce9c18ecd9dfc81fd18094535dc49.tar.gz
Canonicalize project hooks path before use
If the top-level .repo directory is moved somewhere else (e.g. a different drive) and replaced with a symlink, _InitHooks() will create broken symlinks. Resolving symlinks before computing the relative path for the symlink keeps the path within the repo tree, so the tree can be moved anywhere. Change-Id: Ifa5c07869e3477186ddd2c255c6c607f547bc1fe
Diffstat (limited to 'hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions