@leroysheep / BookAlchemy / commits / 60a23bcd31

Meta/cook: stop hardcoding 7-hex abbreviation

Junio C Hamano committed Oct 3, 2016 at 15:26 UTC 60a23bcd31a1ea6d32e97a990137efd3bf1331d9
1 file changed +2 -2
cook
+2 -2
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>) {