From 1e5dae00dd24789a7087d6ffd4fcb5c6951af6b1 Mon Sep 17 00:00:00 2001 From: Jouni Hogander Date: Wed, 18 Nov 2020 16:12:41 +0200 Subject: tools/syz-bisect: use vcs.HEAD by default Use vcs.HEAD if syzkaller or kernel commit is not given --- pkg/vcs/vcs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/vcs') diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index cc182ef1a..acdb9837e 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -300,6 +300,8 @@ var commitPrefixes = []string{ const SyzkallerRepo = "https://github.com/google/syzkaller" +const HEAD = "HEAD" + func CommitLink(url, hash string) string { return link(url, hash, 0) } -- cgit mrf-deployment