]> source.dussan.org Git - gitea.git/commit
Fix commit status icon when in subdirectory (#20285)
authorsilverwind <me@silverwind.io>
Fri, 15 Jul 2022 13:01:32 +0000 (15:01 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Jul 2022 13:01:32 +0000 (14:01 +0100)
commit7d20c8323a9d5d48631d7eb793dcd2d19b25f6d4
treea27a9fd37ecde5fc7cff2a19e5a7b6c2dd0c44ab
parent4c0fce8f7b3ec185ca34e301fb67bf2d28d972d4
Fix commit status icon when in subdirectory (#20285)

When viewing a subdirectory and the latest commit to that directory in
the table, the commit status icon incorrectly showed the status of the
HEAD commit instead of the latest for that directory.
models/migrations/v219.go
modules/git/git.go
routers/web/repo/view.go