gitlabhq / grit

Grit gives you object oriented read/write access to Git repositories via Ruby. Patched for GitLab
gitlab.org
MIT License
59 stars 55 forks source link

Adds "quick_diff" feature to Commit class. #30

Closed rlaneve closed 11 years ago

rlaneve commented 11 years ago

Returns "unbaked" Diff instances with only the a_/b_path, new_file, and deleted_file props set. This method can be used to include the affected files for each commit within the web hook payload, without the performance hit that comes with loading "baked" Diff instances.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling e59ea11ca462aab984be0f73acad71a5a7affdfc on rlaneve:quick-diff into b0df6a7cdaa23f84fb518e802c04927a07285848 on gitlabhq:master.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 08eb5446b0a6da17b2e3a863ce5d67416014f71d on rlaneve:quick-diff into b0df6a7cdaa23f84fb518e802c04927a07285848 on gitlabhq:master.

jacobvosmaer commented 11 years ago

Closing this PR, see https://github.com/gitlabhq/gitlabhq/pull/4464#issuecomment-23930084.