Meta/cook: stop hardcoding 7-hex abbreviation

todo
Junio C Hamano 2016-10-03 15:26:05 -07:00
parent 374104b746
commit 60a23bcd31
1 changed files with 2 additions and 2 deletions

4
cook
View File

@ -65,7 +65,7 @@ sub topic_relation {

my $fh;
open($fh, '-|',
qw(git log --abbrev=7), "--format=%m %h",
qw(git log --abbrev), "--format=%m %h",
"$one...$two", "^master")
or die "$!: open log --left-right";
my (@left, @right);
@ -203,7 +203,7 @@ sub get_commit {
}

open($fh, '-|',
qw(git log --first-parent --abbrev=7),
qw(git log --first-parent --abbrev),
"--format=%ci %h %p :%s", "master..next")
or die "$!: open log master..next";
while (<$fh>) {