| author | 2026-09-08 00:11:57 +0700 | |
|---|---|---|
| committer | 2026-09-08 00:11:57 +0700 | |
| commit | 3e40b846456e4efc06ece7180ef152e053114385 (patch) | |
| tree | fcf80f1d06756472f996bf306ee1fdf1dc9a3b98 /html.h | |
| parent | 3b18a7d8c9608ed0bf13d546018f44e703c62e11 (diff) | |
| download | cgitext-3e40b846456e4efc06ece7180ef152e053114385.tar.gz cgitext-3e40b846456e4efc06ece7180ef152e053114385.zip | |
The ref pickers can only select the exact ref that is shown.
Add an offset input next to each picker (idoff and id2off), whose
value is the number of commits to step back, so any ancestor of a
branch or tag can be compared without typing a rev into the url by
hand. An apply button submits the values typed there, since text
inputs cannot be auto-submitted on their own; the flip link swaps
the offsets along with the refs, and the file-level links carry
them through.
By default both offsets are empty, meaning the selected refs
themselves. An empty ref submitted from the form is likewise
treated as no ref instead of triggering a bad object name error.
Diffstat (limited to 'html.h')
0 files changed, 0 insertions, 0 deletions