gitlab_git 5.9.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cea6e1be39cc847f7f0d81bc7e2fd0cd9177292
4
- data.tar.gz: cda09b8fb88c8877b4cbf5bb61c282cd2dd2e65e
3
+ metadata.gz: 2ce03ca6007fea80f20f967c1ee4eba934419366
4
+ data.tar.gz: a43107fb46facf70055e47966394ba37e38ab0f9
5
5
  SHA512:
6
- metadata.gz: 92cbf4698bac6eab130adc6b9c126ff61af6a3ba606db8d2abda20db664b8106b5d8e0223d4d15bcae61d0a3f72aca230be26b3431c04f98443052566b4ddfac
7
- data.tar.gz: 3238fc9e6192919b7d558d24c347f804045106ec7a1c84a38488251c14b27e8ad2aa34c157d8c5dc7ddfa635427269fed1273595152fa46346cf13c01a96b78f
6
+ metadata.gz: 47f0f2c5c33c2e363dfd2e8e08114495dd3a1331a6011bc86bf0188fca3fde40a564dacc852332be281fe32985fbc4c8d647736c220e36400d99c078607f157d
7
+ data.tar.gz: 3bb88bbc2e04d95a7fb1c66497ac4eecdbf226c90e863ac2c8b7ce30ff509ac0c89d559f1b0ed1ecc96bdc0c565932160befd652811fc876d2fbb7dff38b47e6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.9.0
1
+ 6.0.0
@@ -349,6 +349,14 @@ module Gitlab
349
349
  def submodules(ref)
350
350
  Grit::Submodule.config(grit, ref)
351
351
  end
352
+
353
+ # Return total commits count accessible from passed ref
354
+ def commit_count(ref)
355
+ walker = Rugged::Walker.new(rugged)
356
+ walker.sorting(Rugged::SORT_TOPO | Rugged::SORT_REVERSE)
357
+ walker.push(ref)
358
+ walker.count
359
+ end
352
360
  end
353
361
  end
354
362
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.9.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Zaporozhets