You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
First commit in history page doesn't have link to user profile #7404
Activity
JerryLiao26 commentedon Apr 15, 2023
Can confirm it's a bug here
gogs/internal/route/repo/commit.go
Line 203 in 7be3ea1
by not giving the value to
uShould I start a pull request?
njsoftdev commentedon Apr 27, 2023
Same issue and on commits page avatar and profile link doesn't attached to author. But in 0.13.0 all ok.
It's bug. Regression after upgrade gogs from 0.13.0+dev to 0.14.0+dev.
ivanbogomoloff commentedon Sep 18, 2023
Is it correct solution ?
I did it, because in my cases it works.
vi +203 gogs/internal/route/repo/commit.go
athoik commentedon Oct 1, 2023
My guess is that emailToUsers is used as a local cache, to avoid multiple queries to database.
If it's on emailToUsers, don't bother querying db.
So the proper fix would be the following:
What it's missing is the assignment of user returned from db, both in emailToUsers and in u variable.
commit: fix matchUsersWithCommitEmails