Jacob Vosmaer
ac2cb65ab3
Remove the Commit#tree method
2018-01-04 18:00:28 +01:00
Stan Hu
25a868753b
Speed up generation of commit stats by using Rugged native methods
...
The previous implementation iterated across the entire patch set
to determine the number of lines added, deleted, and changed. Rugged
has a native method `Rugged::Diff#stat` that does this already,
which appears to be a little faster and require less RAM than doing
this ourselves.
Improves performance in #41524
2018-01-02 23:48:19 -08:00
Kim "BKC" Carlbäcker
49dd62ada1
Migrate Gitlab::Git::Commit.shas_with_signatures
...
- Added tests for Git::Commit.shas_with_signatures
2017-12-05 14:43:46 +01:00
Jacopo
0ce6785851
Replaces `tag: true` into `:tag` in the specs
...
Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection.
2017-10-07 13:57:54 +02:00
Alejandro Rodríguez
a97ff8aae0
Add a factory for `Gitaly::GitCommit`s
2017-09-30 00:51:16 -03:00
Kim "BKC" Carlbäcker
9c16958c30
Migrate Gitlab::Git::Repository#log to Gitaly
2017-09-25 11:34:10 +02:00
Kim "BKC" Carlbäcker
25c34608b9
Migrate Git::CommitStats to Gitaly
2017-09-11 21:00:58 +02:00
Jacob Vosmaer
65f83941c3
Make gl_repository a G::G::Repository attribute
2017-08-23 10:45:20 +02:00
Jacob Vosmaer
d9b6fd4fba
Handle missing .gitmodules when getting submodule urls
2017-08-14 10:53:02 +02:00
Alejandro Rodríguez
3ce6f03f14
Incorporate Gitaly's CommitService.FindCommit RPC
2017-08-07 23:33:43 -04:00
Alejandro Rodríguez
c21ae07e33
Refactor Gitlab::Git::Commit to include a repository
2017-08-07 22:34:34 -04:00
Jacob Vosmaer
3a8f4a3460
Remove unnecessary 'raw' alias
2017-08-03 15:52:14 +02:00
Ahmad Sherif
b043100b65
Migrate Gitlab::Git::Commit.find_all to Gitaly
...
Closes gitaly#396
2017-07-20 22:03:55 +02:00
Alejandro Rodríguez
25b01b4c85
Incorporate Gitaly's Commits#between RPC
2017-07-18 16:20:27 -04:00
Alejandro Rodríguez
90f8feae46
Adapt to new Gitaly commit message format
2017-07-18 16:11:44 -04:00
Jacob Vosmaer
43c3a65062
Remove 'contains' option from Commit.find_all
2017-06-27 12:38:58 +02:00
Jacob Vosmaer
144e37c667
Remove Gitlab::Git::Repository#find_all
2017-06-27 12:30:51 +02:00
Alejandro Rodríguez
267cd3e359
Incorporate Gitaly client for refs service
2017-04-04 16:53:44 +02:00
Robert Speicher
def164e761
Fix RSpec/DescribeSymbol cop violations
2017-03-24 19:04:03 -04:00
Robert Speicher
a00578ce5c
Absorb gitlab_git
2017-01-04 19:09:28 -05:00
Dmitriy Zaporozhets
4f2d2c90f7
Move Gitlab::Git out of gitlab core
2013-04-27 23:50:17 +03:00
Dmitriy Zaporozhets
e91ff84df7
keep same dir structure for specs as in lib/
2013-04-03 21:09:07 +03:00