Reviewed-by: Rohan McGovern
--- /dev/null
+# ===[ Subject ]==========[ one line, please wrap at 72 characters ]===|
+
+# ---[ Details ]---------[ remember extra blank line after subject ]---|
+
+# ---[ Fields ]-----------------[ uncomment and edit as applicable ]---|
+
+#Task-number:
+#Reviewed-by:
+
+# ==================================[ please wrap at 72 characters ]===|
use English qw( -no_match_vars );
use Getopt::Long qw( GetOptionsFromArray );
use Pod::Usage qw( pod2usage );
use English qw( -no_match_vars );
use Getopt::Long qw( GetOptionsFromArray );
use Pod::Usage qw( pod2usage );
my %PROTOCOLS = (
'internal' => 'git://scm.dev.nokia.troll.no/' ,
my %PROTOCOLS = (
'internal' => 'git://scm.dev.nokia.troll.no/' ,
}
$self->exe('git', 'submodule', 'init', @init_args);
}
$self->exe('git', 'submodule', 'init', @init_args);
+ my $template = getcwd()."/.commit-template";
+ if (-e $template) {
+ $self->exe('git', 'config', 'commit.template', $template);
+ }
+
$self->exe('git', 'fetch', ($mirror ? $mirror : $url));
}
$self->exe('git', 'fetch', ($mirror ? $mirror : $url));
}
+ my $template = getcwd()."/../.commit-template";
+ if (-e $template) {
+ $self->exe('git', 'config', 'commit.template', $template);
+ }
+
if ($mirror) {
$self->exe('git', 'config', 'remote.origin.url', $url);
if ($mirror) {
$self->exe('git', 'config', 'remote.origin.url', $url);