Also, I can't apply some important patches anymore: - ui-tree: add about link in tree view list - Make default pages configurable - ui-commit: show subject in page title For instance: $ git apply --verbose ../0001-about-link-git2.21.0.patch Checking patch ui-shared.c... Hunk #1 succeeded at 346 (offset 1 line). Checking patch ui-shared.h... Checking patch ui-tree.c... error: while searching for: cgit_print_layout_start(); htmlf("blob: %s (", oid_to_hex(oid)); cgit_plain_link("plain", NULL, NULL, ctx.qry.head, rev, path); if (ctx.repo->enable_blame) { error: patch failed: ui-tree.c:108 error: ui-tree.c: patch does not apply Those patches have been attached. On Wed, Jan 4, 2023 at 3:52 PM jean-christophe manciot wrote: > > Hi there, > I have recloned the repository from scratch but it seems that all > previous git- branches have all disappeared; for > instance, there used to be refs/heads/ch/git-2-39. > > git-cgit$ git clone https://git.zx2c4.com/cgit . > Cloning into '.'... > remote: Enumerating objects: 7124, done. > remote: Counting objects: 100% (1363/1363), done. > remote: Compressing objects: 100% (192/192), done. > remote: Total 7124 (delta 1308), reused 1176 (delta 1171), pack-reused 5761 > Receiving objects: 100% (7124/7124), 8.67 MiB | 11.32 MiB/s, done. > Resolving deltas: 100% (5100/5100), done. > > git-cgit (master)$ git submodule init > Submodule 'git' (https://git.kernel.org/pub/scm/git/git.git) > registered for path 'git' > git-cgit (master)$ git submodule update > Cloning into '/media/Shared/home/actionmystique/src/Git/git-cgit/git'... > Submodule path 'git': checked out 'c48035d29b4e524aed3a32f0403676f0d9128863' > > git-cgit (master)$ git branch -r | grep git- > git-cgit (master)$ > > I used those git branches to build cgit for specific git versions. > How can we do it now? > > Regards. > -- > Jean-Christophe -- Jean-Christophe