commit | dd57e969b7bba785a90369f996b89f30d2e406f0 | [log] [tgz] |
---|---|---|
author | Doug Kelly <doug.kelly@garmin.com> | Thu Nov 21 17:10:19 2013 -0600 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Fri Nov 22 00:43:40 2013 +0000 |
tree | cd3a21d5e56fb4d5df6ce49132379ef5628a1236 | |
parent | d0b6de2d6aa38c93e57a1cf066a748211863bd2c [diff] |
Use rev-parse to find gitdir when generating commit-msg hook hint This updates the Change-Id validator hint to advise the user to use "git rev-parse --git-dir" to find the proper gitdir, in case the user is using submodules. Also, the gitdir is stored into a temp variable, because msysgit has an unusual behavior related to the path returned by rev-parse otherwise. Change-Id: Ie4fcd0a73bd1cee12a052f38541f83aa8821c886