Add a link to the file when viewing a patch

Tue Mar 11 2025

tucker.mcknight@gmail.com


    

f0598f34333f743ec2d59389c9f476a3b69d8238

darcs pull https://repos.tuckerm.us/repos/eleventy-darcs/branches/main -h f0598f34333f743ec2d59389c9f476a3b69d8238
helpers.js:33
Before
        file: `${matches[1]}: ${matches[2]}`,
After
        file: matches[1],
        lineNumber: matches[2],
patch.njk:15
Before
    <span class="filename">{{hunk.file }}</span>
After
    <span class="filename"><a href="/repos/{{patchInfo.repoName}}/files/{{ hunk.file }}.html&quot;>{{ hunk.file }}:{{ hunk.lineNumber }}&lt;/a></span>