From 60a23bcd31a1ea6d32e97a990137efd3bf1331d9 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 3 Oct 2016 15:26:05 -0700 Subject: [PATCH] Meta/cook: stop hardcoding 7-hex abbreviation --- cook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cook b/cook index 3815aee776..0035d65658 100755 --- a/cook +++ b/cook @@ -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>) { -- 2.47.3