diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-10-17 11:30:48 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-11-14 12:17:36 +0000 |
commit | 6773d4ef94fa6d74b7361fd10f5bc7550542a50b (patch) | |
tree | 1917a208e8fd82d267af0c4150e21091c3956e2d /init-repository | |
parent | 357d29a0028e5ef9f725bbbac682d1e2033b9d97 (diff) |
produce less ugly paths to the commit template in submodules
Change-Id: I7ebf3c46088e193c8f4605532c1f4a1b6d62d230
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'init-repository')
-rwxr-xr-x | init-repository | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-repository b/init-repository index 842af7d1..52efb201 100755 --- a/init-repository +++ b/init-repository @@ -522,7 +522,7 @@ sub git_clone_one_submodule $self->exe('git', 'config', 'remote.origin.url', $url); } - my $template = getcwd()."/../.commit-template"; + my $template = $orig_cwd."/.commit-template"; if (-e $template) { $self->exe('git', 'config', 'commit.template', $template); } |