Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #163

Closed
Open
Created Dec 01, 2011 by Administrator@rootOwner

Wrong commit URL when commit dates are off

Created by: fingermark

A server had its time an hour behind and committed a change. On the project page (/myproject), it lists the commits as follows:

Commit 2 [link to commits/0824361a7b43656d7fcb8421bfdd6a380f4baa2e]

Commit 3 [link to commits/0824361a7b43656d7fcb8421bfdd6a380f4baa2e]

Commit 1 [link to commits/eccbe0facd51f3c62d22ecbc1edf2e8f250b4b36]

As you can see commit 2 and commit 3 link to the same place, which is incorrect.

Update: to be clear, the commits page has the correct URL. It's the project's activities page that has the incorrect URL. But, if I click on the commit page URL: /scripts/commits/ead50d446d92812e664cb52437ead29bfe42f78e it pulls up the diff and commit info for 0824361a7b43656d7fcb8421bfdd6a380f4baa2e, so both are incorrect and are probably related.

Here's what git shows:

git log

commit ead50d446d92812e664cb52437ead29bfe42f78e Author: Wrong Time Guy [email protected] Date: Thu Dec 1 13:54:28 2011 -0500

Commit 3 (On Server With Wrong Time)

commit 0824361a7b43656d7fcb8421bfdd6a380f4baa2e Author: Bradford [email protected] Date: Thu Dec 1 14:37:58 2011 -0500

Commit 2

commit eccbe0facd51f3c62d22ecbc1edf2e8f250b4b36 Author: Bradford [email protected] Date: Wed Nov 30 16:29:57 2011 -0500

Commit 1
Assignee
Assign to
Time tracking