Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | commit: Fix memory leak in test suitevmg/commit-leak | Vicent Marti | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | commit: introduce `git_commit_body` | Patrick Steinhardt | 2015-12-01 | 1 | -0/+39 |
| | | | | | | | | | It is already possible to get a commit's summary with the `git_commit_summary` function. It is not possible to get the remaining part of the commit message, that is the commit message's body. Fix this by introducing a new function `git_commit_body`. | ||||
* | Fix git_commit_summary to convert newlines to spaces even after | Stjepan Rajko | 2015-11-03 | 1 | -2/+6 |
| | | | | whitespace. Collapse spaces around newlines for the summary. | ||||
* | Introduce cl_assert_equal_oid | Edward Thomson | 2014-07-01 | 1 | -1/+1 |
| | |||||
* | commit: safer commit creation with reference updatecmn/commit-create-safe | Carlos MartÃn Nieto | 2014-04-30 | 1 | -0/+4 |
| | | | | | | | | | | | | | | The current version of the commit creation and amend function are unsafe to use when passing the update_ref parameter, as they do not check that the reference at the moment of update points to what the user expects. Make sure that we're moving history forward when we ask the library to update the reference for us by checking that the first parent of the new commit is the current value of the reference. We also make sure that the ref we're updating hasn't moved between the read and the write. Similarly, when amending a commit, make sure that the current tip of the branch is the commit we're amending. | ||||
* | Summarize empty messages | Edward Thomson | 2014-01-22 | 1 | -0/+4 |
| | |||||
* | Introduce git_revert to revert a single commit | Edward Thomson | 2013-12-02 | 1 | -0/+29 |
| | |||||
* | Rename tests-clar to tests | Ben Straub | 2013-11-14 | 1 | -0/+46 |