KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kicad_git_compat.h File Reference
#include <git2.h>

Go to the source code of this file.

Macros

#define GIT_BUF_INIT   { NULL, 0, 0 }
 
#define KIGIT_HAS_EOWNER
 
#define KIGIT_HAS_HOMEDIR_OPT   ( LIBGIT2_VER_MAJOR > 1 || ( LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 6 ) )
 
#define KIGIT_HAS_WORKTREE_CONFIG   ( LIBGIT2_VER_MAJOR > 1 || ( LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 8 ) )
 

Macro Definition Documentation

◆ GIT_BUF_INIT

◆ KIGIT_HAS_EOWNER

#define KIGIT_HAS_EOWNER
Value:
( LIBGIT2_VER_MAJOR > 1 || ( LIBGIT2_VER_MAJOR == 1 \
&& ( LIBGIT2_VER_MINOR >= 5 \
|| ( LIBGIT2_VER_MINOR == 4 && LIBGIT2_VER_REVISION >= 3 ) \
|| ( LIBGIT2_VER_MINOR == 3 && LIBGIT2_VER_REVISION >= 1 ) ) ) )

Definition at line 35 of file kicad_git_compat.h.

◆ KIGIT_HAS_HOMEDIR_OPT

#define KIGIT_HAS_HOMEDIR_OPT   ( LIBGIT2_VER_MAJOR > 1 || ( LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 6 ) )

Definition at line 42 of file kicad_git_compat.h.

◆ KIGIT_HAS_WORKTREE_CONFIG

#define KIGIT_HAS_WORKTREE_CONFIG   ( LIBGIT2_VER_MAJOR > 1 || ( LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 8 ) )

Definition at line 45 of file kicad_git_compat.h.