Skip to content

Commit 60a23bc

Browse files
committed
Meta/cook: stop hardcoding 7-hex abbreviation
1 parent 374104b commit 60a23bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cook

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ sub topic_relation {
6565

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

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

0 commit comments

Comments
 (0)