Fix cgit commit URL setting

Typo, there has to be a ? in front of the id or otherwise we don't get
linked to the right commit. This would have affected recently added layers
with a cgit web frontend.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-08-14 10:58:30 +12:00
parent 4cc5558c2c
commit fae9771604

View File

@ -286,7 +286,7 @@
if (e) {
$('#id_vcs_web_tree_base_url').val(vcs_web_url + '/tree/%path%?h=%branch%')
$('#id_vcs_web_file_base_url').val(vcs_web_url + '/tree/%path%?h=%branch%')
$('#id_vcs_web_commit_url').val(vcs_web_url + '/commit/id=%hash%')
$('#id_vcs_web_commit_url').val(vcs_web_url + '/commit/?id=%hash%')
}
}
else if (type == 'gitweb') {