projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc117b1
)
use less for output
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 13 Aug 2022 11:21:13 +0000
(13:21 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 13 Aug 2022 11:21:13 +0000
(13:21 +0200)
git-log-merge.pl
patch
|
blob
|
history
diff --git
a/git-log-merge.pl
b/git-log-merge.pl
index
c3a41b5
..
4bd55f4
100755
(executable)
--- a/
git-log-merge.pl
+++ b/
git-log-merge.pl
@@
-3,7
+3,6
@@
use warnings;
use strict;
use autodie;
use Data::Dump qw(dump);
-use Carp;
my @repos = qw(
/home/dpavlin/dell-switch/running-config/
@@
-25,7
+24,7
@@
my $date_commit;
sub get_commit {
my $repo = shift;
my $r = $fh->{$repo};
-
Carp::confess
"ERROR on $repo in ",dump($fh) unless $r;
+
die
"ERROR on $repo in ",dump($fh) unless $r;
while(<$r>) {
if ( m/(\e\[\d*m)?commit [0-9a-f]+/ ) {
#if ( m/commit [0-9a-f]+/ ) {