26 lines
442 B
C++
26 lines
442 B
C++
#include <git2.h>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
#include <fstream>
|
|
#include <fmt/core.h>
|
|
#include <regex>
|
|
#include <string>
|
|
#include <iterator>
|
|
#include <ctime>
|
|
#include "dbc.h"
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
#include <regex>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
git_repository* repo = nullptr;
|
|
|
|
git_libgit2_init();
|
|
|
|
int err = git_repository_open(&repo, argv[1]);
|
|
|
|
git_libgit2_shutdown();
|
|
|
|
git_libgit2_shutdown();
|
|
}
|