Create an extras directory with files that are not related to the build but that I need to keep around for reference.
This commit is contained in:
parent
ccf37e758c
commit
8b61f7b86b
5 changed files with 297 additions and 11 deletions
26
PPP3/extras/git_minimal.cpp
Normal file
26
PPP3/extras/git_minimal.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
#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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue