A vibe coded tangled fork which supports pijul.
1{{ define "repo/pulls/fragments/pullPatchUpload" }}
2 <div id="patch-upload">
3 <p>
4 You can paste a
5 <code>git diff</code>
6 or a
7 <code>git format-patch</code>
8 patch series here.
9 </p>
10 <textarea
11 hx-trigger="keyup changed delay:500ms, paste delay:500ms"
12 hx-post="/{{ .RepoInfo.FullName }}/pulls/new/validate-patch"
13 hx-swap="none"
14 name="patch"
15 id="patch"
16 rows="12"
17 class="w-full mt-2 resize-y font-mono dark:bg-gray-700 dark:text-white dark:border-gray-600"
18 placeholder="diff --git a/file.txt b/file.txt
19index 1234567..abcdefg 100644
20--- a/file.txt
21+++ b/file.txt"></textarea>
22 </div>
23{{ end }}