gitlabhq/gitlabhq — Issue #163: Wrong commit URL when commit dates are off
Author: fingermark
Created: 2011-12-01 20:36:26+00:00
State: open

A server had its time an hour behind and committed a change. On the project page (/myproject), 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.

Here's what git shows:

> git log

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

Commit 3 (On Server With Wrong Time)

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

Commit 2

commit eccbe0facd51f3c62d22ecbc1edf2e8f250b4b36
Author: Bradford
Date: Wed Nov 30 16:29:57 2011 -0500

Commit 1