summaryrefslogtreecommitdiff
path: root/include/git2/describe.h
Commit message (Collapse)AuthorAgeFilesLines
* Add `const` qualifierYury G. Kudryashov2015-05-151-1/+1
| | | | | | This fixes a warning in `examples/describe.c` without breaking the main build. OTOH, I'm not sure if this is an API-compatible change.
* Fix doc comment formattingBen Chatelain2015-02-101-2/+3
|
* describe: document the APIcmn/describeCarlos Martín Nieto2014-09-301-3/+71
|
* describe: rename git_describe_opts to git_describe_optionsCarlos Martín Nieto2014-09-301-5/+9
| | | | And implement the option init functions for this and the format options.
* describe: implement describing the workdirCarlos Martín Nieto2014-09-301-0/+5
| | | | | | When we describe the workdir, we perform a describe on HEAD and then check to see if the worktree is dirty. If it is and we have a suffix string, we append that to the buffer.
* describe: split into gather and format stepsCarlos Martín Nieto2014-09-301-4/+23
| | | | | | | | Instead of printing out to the buffer inside the information-gathering phase, write the data to a intermediate result structure. This allows us to split the options into gathering options and formatting options, simplifying the gathering code.
* describe: rename _object() to _commit()Carlos Martín Nieto2014-09-301-1/+1
| | | | | We don't describe arbitrary object, so let's give it the name of the one object type we accept.
* object: introduce git_describe_object()nulltoken2014-04-301-0/+66