summaryrefslogtreecommitdiff
path: root/tests-clar/repo/message.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-52/+0
|
* Fix git_repository_message docsRussell Belfer2013-05-091-1/+6
| | | | | | | | This clarifies the docs for git_repository_message and also adds to the tests to explicitly check NUL termination of data when the output buffer is smaller than the message size. There is a minor behavior change so that a non-NULL output buffer will always be NUL terminated (at length zero) if an error occurs.
* tests: fix indentation in repo/message.cScott J. Goldman2013-02-071-8/+8
|
* repository: add a getter and remove function for git's prepared messageCarlos Martín Nieto2012-08-011-0/+47
The 'git revert/cherry-pick/merge -n' commands leave .git/MERGE_MSG behind so that git-commit can find it. As we don't yet support these operations, users who are shelling out to let git perform these operations haven't had a convenient way to get this message. These functions allow the user to retrieve the message and remove it when she's created the commit.