forgejo/routers
Mario Lubenka 55a8e12d85 Number of commits ahead/behind in branch overview (#6695)
* Call Git API to determine divergence of a branch and its base branch

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show commit divergance in branch list

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds test for diverging commits

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Try comparing commits instead of branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes test as CI can't run it

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts signature of percentage function to allow providing multiple integers as numerator

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves CountDivergingCommits function into repofiles module

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-05-05 19:25:25 +03:00
..
admin Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
api/v1 Hash App token (#6724) 2019-05-04 11:45:34 -04:00
dev
org Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
private move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
repo Number of commits ahead/behind in branch overview (#6695) 2019-05-05 19:25:25 +03:00
routes Git statistics in Activity tab (#4724) 2019-05-04 15:39:03 +03:00
user Hash App token (#6724) 2019-05-04 11:45:34 -04:00
utils
home.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
init.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
install.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
metrics.go Fix metrics auth token detection (#6006) 2019-02-09 00:58:31 -05:00
swagger_json.go