KiCad PCB EDA Suite
Loading...
Searching...
No Matches
libgit_backend.cpp File Reference
#include "libgit_backend.h"
#include "git_clone_handler.h"
#include "git_commit_handler.h"
#include "git_push_handler.h"
#include "git_add_to_index_handler.h"
#include "git_remove_from_index_handler.h"
#include "git_status_handler.h"
#include "git_config_handler.h"
#include "git_init_handler.h"
#include "git_branch_handler.h"
#include "git_pull_handler.h"
#include "git_revert_handler.h"
#include "project_git_utils.h"
#include "kicad_git_common.h"
#include "kicad_git_memory.h"
#include "trace_helpers.h"
#include <git2.h>
#include <wx/filename.h>
#include <wx/log.h>
#include <gestfich.h>
#include <algorithm>
#include <iterator>
#include <memory>
#include <time.h>

Go to the source code of this file.

Functions

static std::string getFirstLineFromCommitMessage (const std::string &aMessage)
 
static std::string getFormattedCommitDate (const git_time &aTime)
 
static bool lookup_branch_reference (git_repository *repo, const wxString &aBranchName, git_reference **aReference)
 

Function Documentation

◆ getFirstLineFromCommitMessage()

static std::string getFirstLineFromCommitMessage ( const std::string & aMessage)
static

Definition at line 51 of file libgit_backend.cpp.

Referenced by LIBGIT_BACKEND::handleFastForward().

◆ getFormattedCommitDate()

static std::string getFormattedCommitDate ( const git_time & aTime)
static

Definition at line 64 of file libgit_backend.cpp.

Referenced by LIBGIT_BACKEND::handleFastForward().

◆ lookup_branch_reference()

static bool lookup_branch_reference ( git_repository * repo,
const wxString & aBranchName,
git_reference ** aReference )
static