Carlos Martín Nieto
25345c0cbe
describe: rename git_describe_opts to git_describe_options
...
And implement the option init functions for this and the format options.
2014-09-30 09:18:22 +02:00
Carlos Martín Nieto
5431c46a96
describe: use globs in the tests
...
This makes us be closer to git's tests, and lets us better describe what
we expect from the output.
2014-09-30 09:05:55 +02:00
Carlos Martín Nieto
3b6534b807
describe: split into gather and format steps
...
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.
2014-09-30 07:24:28 +02:00
Carlos Martín Nieto
1f501a086b
describe: rename _object() to _commit()
...
We don't describe arbitrary object, so let's give it the name of the one
object type we accept.
2014-09-30 04:58:02 +02:00
nulltoken
3a728fb508
object: introduce git_describe_object()
2014-04-30 09:46:25 +02:00