module Gitlab::Client::Commits
def commit_diff(project, sha)
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
sha
(String
) -- The name of a repository branch or tag or if not given the default branch. -
project
(Integer, String
) -- The ID or name of a project.
def commit_diff(project, sha) get("/projects/#{url_encode project}/repository/commits/#{sha}/diff") end