diff options
author | silverwind <me@silverwind.io> | 2022-07-15 15:01:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 14:01:32 +0100 |
commit | 7d20c8323a9d5d48631d7eb793dcd2d19b25f6d4 (patch) | |
tree | a27a9fd37ecde5fc7cff2a19e5a7b6c2dd0c44ab /models/migrations | |
parent | 4c0fce8f7b3ec185ca34e301fb67bf2d28d972d4 (diff) | |
download | gitea-7d20c8323a9d5d48631d7eb793dcd2d19b25f6d4.tar.gz gitea-7d20c8323a9d5d48631d7eb793dcd2d19b25f6d4.zip |
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.
Diffstat (limited to 'models/migrations')
-rw-r--r-- | models/migrations/v219.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/v219.go b/models/migrations/v219.go index 7b2eaa3292..7b4f34b704 100644 --- a/models/migrations/v219.go +++ b/models/migrations/v219.go @@ -9,6 +9,7 @@ import ( "code.gitea.io/gitea/models/repo" "code.gitea.io/gitea/modules/timeutil" + "xorm.io/xorm" ) |