diff options
-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); } |