mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 06:47:53 +00:00

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.
11 lines
247 B
C
11 lines
247 B
C
#include "clar_libgit2.h"
|
|
#include "buffer.h"
|
|
|
|
extern void assert_describe(
|
|
const char *expected_output,
|
|
const char *revparse_spec,
|
|
git_repository *repo,
|
|
git_describe_opts *opts,
|
|
git_describe_format_options *fmt_opts,
|
|
bool is_prefix_match);
|