You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
ericLemanissier 40faa6dc78
git graph: don't show detached commits (#33645)
Current git graph is not usable for mirrors of repos having a lot of
PRs, as can be seen at
https://demo.gitea.com/ericLemanissier/conan-center-index/graph

![image](https://github.com/user-attachments/assets/ace40dd2-3eea-4d69-8e19-10fb7224e326)


Manually running `git log --graph --date-order --all` on such a repo
indeed shows:
```
*   commit c4a34bd39d7977c8630177c5f88507000ea3e943
|\  Merge: a4bbd3ad6b 35a102c77c
| | Author: toge <toge.mail@gmail.com>
| | Date:   Wed Feb 19 08:36:41 2025 +0000
| |
| |     Merge 35a102c77cbc38d84baca0ca63466fb410336ea8 into a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98
| |
| * commit 35a102c77cbc38d84baca0ca63466fb410336ea8
| | Author: toge <toge.mail@gmail.com>
| | Date:   Wed Feb 19 17:36:35 2025 +0900
| |
| |     update 4.4.2
| |
| | * commit 5d610f4fd3c0428731e402a2f618fad9ce055875
| |/| Merge: a4bbd3ad6b fe916fb70a
|/| | Author: Antony Peacock <ant.peacock@gmail.com>
| | | Date:   Wed Feb 19 08:31:30 2025 +0000
| | |
| | |     Merge fe916fb70a8bf49503cce70a5c7124bcc4314ddc into a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98
| | |
| | * commit fe916fb70a8bf49503cce70a5c7124bcc4314ddc
| | | Author: Antony Peacock <ant.peacock@gmail.com>
| | | Date:   Wed Feb 19 08:31:18 2025 +0000
| | |
| | |     Remove parquet cmakelist patch
| | |
| | | * commit 9f6d2759d650ec3c86d01bb940e829e7e14220c2
| |_|/| Merge: a4bbd3ad6b f0963429b0
|/| | | Author: Thomas Sedlmair <thomas.sedlmair@googlemail.com>
| | | | Date:   Wed Feb 19 08:03:08 2025 +0100
| | | |
| | | |     Merge f0963429b0952499da0da7e559f8d53387097307 into a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98
| | | |
| | | * commit f0963429b0952499da0da7e559f8d53387097307
| |_|/  Author: Thomas Sedlmair <thomas.sedlmair@googlemail.com>
|/| |   Date:   Wed Feb 19 08:01:43 2025 +0100
| | |
| | |       added cwt-cucumber 2.5
| | |
```

On the other hand, running `git log --graph --date-order --branches
--tags` returns the expected:
```
* commit a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98 (HEAD -> master)
| Author: Dan <mstr.danila@gmail.com>
| Date:   Fri Feb 14 18:46:11 2025 +0200
|
|     grpc: add version 1.69.0 (#26446)
|
|     * grpc: add version 1.69.0
|
|     * add cmake tool requires
|
|     ---------
|
|     Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
|
* commit a7868807cb2e21206ebf95278cb588f29a3e2205
| Author: Guillaume Egles <gegles@users.noreply.github.com>
| Date:   Thu Feb 13 05:44:35 2025 -0800
|
|     openssl: add versions `3.0.16`, `3.1.8`, `3.2.4`, `3.3.3`, `3.4.1`, stop publishing revisions for version `3.0.15` (#26578)
|
* commit 86057d3e63ac71e2fe48c07bb301f2d54187044d
| Author: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
| Date:   Thu Feb 13 13:34:41 2025 +0000
|
|     android-ndk: dont set LD and AS variables (#26581)
|
|     * android-ndk: dont set LD and AS variables
|
|     * android-ndk: refactor test package
|
* commit 123e382fafd2f5e811e10faac02efc275c45ec2a
| Author: Nikita <root.kidik@gmail.com>
| Date:   Thu Feb 13 12:29:39 2025 +0300
|
|     libffi: fix conditionals when building on Windows (#26500)
|
|     * fix: add missing or `clang`
|
|     * fix: libffi - always require as tool `automake`
```
5 days ago
..
actions Refactor error system (#33626) 7 days ago
agit User facing messages for AGit errors (#33012) 4 weeks ago
asymkey Move commits signature and verify functions to service layers (#33605) 1 week ago
attachment Include file extension checks in attachment API (#32151) 4 months ago
auth Fix context usage (#33554) 2 weeks ago
automerge Automerge supports deleting branch automatically after merging (#32343) 2 months ago
context Refactor error system (#33626) 7 days ago
contexttest Avoid duplicate SetContextValue call (#33564) 2 weeks ago
convert Move issue pin to an standalone table for querying performance (#33452) 1 week ago
cron Use default Git timeout when checking repo health (#33593) 1 week ago
doctor Refactor older tests to use testify (#33140) 2 months ago
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
feed Refactor RefName (#33234) 1 month ago
forms Fix commit status events (#33320) 3 weeks ago
git Move commits signature and verify functions to service layers (#33605) 1 week ago
gitdiff Performance optimization for pull request files loading comments attachments (#33585) 2 weeks ago
indexer Update issue indexer after merging a PR (#30715) 10 months ago
issue Move issue pin to an standalone table for querying performance (#33452) 1 week ago
lfs Fix SSH LFS memory usage (#33455) 3 weeks ago
mailer Move commits signature and verify functions to service layers (#33605) 1 week ago
markup Fix context usage (#33554) 2 weeks ago
migrations refactor: decouple context from migration structs (#33399) 3 weeks ago
mirror Fix mirror bug (#33597) 1 week ago
notify Refactor repository transfer (#33211) 4 weeks ago
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 3 months ago
org Refactor tests (#33021) 2 months ago
packages Add API to support link package to repository and unlink it (#33481) 1 week ago
projects Fix project issues list and counting (#33594) 1 week ago
pull Automerge supports deleting branch automatically after merging (#32343) 2 months ago
release Refactor "string truncate" (#32984) 2 months ago
repository git graph: don't show detached commits (#33645) 5 days ago
secrets Refactor deletion (#28610) 1 year ago
task Fix "force private" logic (#31012) 9 months ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Refactor repository transfer (#33211) 4 weeks ago
webhook Make actions URL in commit status webhooks absolute (#33620) 7 days ago
webtheme Initial support for colorblindness-friendly themes (#30625) 10 months ago
wiki Refactor older tests to use testify (#33140) 2 months ago