2016-08-05 14:56:08 +03:00
|
|
|
/*
|
|
|
|
* git-util.h - Git utility functions
|
|
|
|
*
|
|
|
|
* Written 2016 by Werner Almesberger
|
|
|
|
* Copyright 2016 by Werner Almesberger
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GIT_UTIL_H
|
|
|
|
#define GIT_UTIL_H
|
|
|
|
|
2016-08-05 15:22:37 +03:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include <git2.h>
|
|
|
|
|
|
|
|
|
|
|
|
bool git_repo_is_dirty(git_repository *repo);
|
2016-08-05 14:56:08 +03:00
|
|
|
void git_init_once(void);
|
|
|
|
|
|
|
|
#endif /* !GIT_UTIL_H */
|