commit | 741c71342080c33c5644b2ec13dc7287f4b41f4e | [log] [tgz] |
---|---|---|
author | Edwin Kempin <edwin.kempin@sap.com> | Tue Jun 23 09:36:51 2015 +0200 |
committer | Edwin Kempin <edwin.kempin@sap.com> | Tue Jun 23 09:48:42 2015 +0200 |
tree | 5310c326db7e0115e0088b83223555487cf432cf | |
parent | c0f1b84e494c8bab73f4786642dc768ae60468d9 [diff] |
Fix clone with commit-msg hook when project name contains '/' Cloning a project 'foo/bar' with git clone ssh://<user>@<host>:29418/foo/bar clones the project into a 'bar' folder. This means that the commit-msg hook needs to be copied into 'bar/.git/hooks/', but so far the command tried to copy it into 'foo/bar/.git/hooks/' which failed since the folder didn't exist. Change-Id: I2838a810682054dc1a585630480db8110bf71abc Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>