diff options
author | Vincent Ambo <mail@tazj.in> | 2022-06-21T21·02+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-06-22T10·41+0000 |
commit | 45e7f2c3884fdd81356a74afae19eefcdc37dce8 (patch) | |
tree | 37d55580e9f57e5d7d06080f9ab82ad0685e01e4 /third_party/cgit/ui-atom.c | |
parent | cf91baa93883bc2f61a53f2f6c78348b9cebd7b7 (diff) |
feat(3p/cgit): Display depot revisions in log views r/4251
depot revisions are not recognised by git as a specific type of "decoration" (i.e. fall into `DECORATION_NONE`), which means that cgit skips them by default. Displaying them on code.tvl.fyi would be quite nice, so to work around this we check for the `refs/r/` prefix on skipped decorations and display them (without the `refs/` prefix) on commits. Change-Id: Ia9cece3876db471f93ab787258be527739af046b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5891 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'third_party/cgit/ui-atom.c')
0 files changed, 0 insertions, 0 deletions