mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user