blob: 368711e6c6dcc0b160a839c4eaf8b6bb21383461 (
plain) (
tree)
|
|
#!/usr/bin/perl -w
use strict;
my $range = "";
$range = shift if @ARGV;
foreach (`git log --oneline --first-parent $range`) {
next unless /^([\da-f]+) Merge branch '([^\']*)'/;
print "git branch $2 $1^2\n";
}
|