I want to compare the difference between the two commit codes by Ruby. At present, the API can only see the number of lines to be added or deleted and the code to be added or deleted. I want to get the new or edited code directly without displaying the deleted code. How can I write a Ruby request?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Api compare repository branch | 0 | 864 | June 17, 2022 | |
GitLab Commit or Merge Request see Additions and Deletions | 3 | 2803 | August 23, 2017 | |
How to get changed files(name) between two commit sha's with gitlab api? | 2 | 9768 | August 3, 2017 | |
GET /projects/:id/repository/commits/:sha/diff | 3 | 1945 | May 4, 2023 | |
Compare two commits using gitlab api and get response in `.diff` format | 1 | 2720 | March 7, 2022 |