-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
topic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
- Gitea version (or commit ref):
- Git version:
- Operating system:
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Hello,Currently, the new commit comes before the old one in the pr commits list.I don't like this style, suggest displaying it in the old to new order, which is the same as github. Thanks
compare view:
gitea:
github:
maybe we can use this way to change, but I'm not confirm this way is right.
diff --git a/modules/git/repo.go b/modules/git/repo.go
index 644ff0928..491a97889 100644
--- a/modules/git/repo.go
+++ b/modules/git/repo.go
@@ -65,7 +65,7 @@ func (repo *Repository) parsePrettyFormatLogToList(logs []byte) (*list.List, err
if err != nil {
return nil, err
}
- l.PushBack(commit)
+ l.PushFront(commit)
}
return l, nil
Metadata
Metadata
Assignees
Labels
topic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.