diff options
| author | Jouni Hogander <jouni.hogander@unikie.com> | 2020-11-18 16:12:41 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-12-10 12:57:35 +0100 |
| commit | 1e5dae00dd24789a7087d6ffd4fcb5c6951af6b1 (patch) | |
| tree | bdb26959e095fbc11efa377b30a5381781c0888c /pkg | |
| parent | c705ea526250b70e362704dc91d38eb1cd59fdc8 (diff) | |
tools/syz-bisect: use vcs.HEAD by default
Use vcs.HEAD if syzkaller or kernel commit is not given
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/vcs/vcs.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) } |
