summaryrefslogtreecommitdiffstats
path: root/git_part.h
blob: 9f39423e3f8b9ff8369e610554457745939921e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef VOLGIT_GIT_PART_H
#define VOLGIT_GIT_PART_H VOLGIT_GIT_PART_H
#include <stdio.h>
#include <git2.h>

int print_diff_line(const git_diff_delta *delta,const git_diff_hunk *hunk,const git_diff_line *line,void *payload);
void print_diff(git_tree *parent_tree,git_tree *current_tree,git_repository *repo);
void print_headers_and_commit_message(git_commit *current_commit,git_oid *current);
void print_commits(const git_reference *branch, git_repository *repo);

void print_branches(git_repository *repo);

#endif