File: reflog_helpers.h

package info (click to toggle)
libgit2 0.27.7%2Bdfsg.1-0.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 31,400 kB
  • sloc: ansic: 157,824; sh: 406; python: 182; php: 65; makefile: 61
file content (10 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
size_t reflog_entrycount(git_repository *repo, const char *name);

#define cl_reflog_check_entry(repo, reflog, idx, old_spec, new_spec, email, message) \
    cl_reflog_check_entry_(repo, reflog, idx, old_spec, new_spec, email, message, __FILE__, __LINE__)

void cl_reflog_check_entry_(git_repository *repo, const char *reflog, size_t idx,
						const char *old_spec, const char *new_spec,
						const char *email, const char *message, const char *file, int line);

void reflog_print(git_repository *repo, const char *reflog_name);