|
KiCad PCB EDA Suite
|
#include <map>#include <import_export.h>#include <set>#include <utility>#include <vector>#include <wx/string.h>#include "kigit_orphan_registry.h"Go to the source code of this file.
Classes | |
| class | GIT_BACKEND |
Enumerations | |
| enum class | CommitResult { Success , SuccessIndexStale , Error , Cancelled } |
| enum class | UndoCommitResult { Success , Published , TargetChanged , NoCommit , Error } |
| enum class | MergeCommitResult { Success , FailedCleanly , FailedPartially } |
Functions | |
| APIEXPORT GIT_BACKEND * | GetGitBackend () |
| APIEXPORT void | SetGitBackend (GIT_BACKEND *aBackend) |
|
strong |
| Enumerator | |
|---|---|
| Success | |
| SuccessIndexStale | Committed, but the staged list was left as another program had it. Never retry on this. |
| Error | |
| Cancelled | |
Definition at line 54 of file git_backend.h.
|
strong |
| Enumerator | |
|---|---|
| Success | |
| FailedCleanly | |
| FailedPartially | |
Definition at line 82 of file git_backend.h.
|
strong |
| Enumerator | |
|---|---|
| Success | |
| Published | A remote-tracking branch already holds the commit, so taking it back would rewrite shared history. |
| TargetChanged | The branch or its last commit is no longer the one the caller saw. |
| NoCommit | |
| Error | |
Definition at line 66 of file git_backend.h.
| APIEXPORT GIT_BACKEND * GetGitBackend | ( | ) |
Definition at line 24 of file git_backend.cpp.
References s_backend.
Referenced by KIGIT_COMMON::AbandonOperation(), KIGIT_COMMON::AddRemote(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGIT_COMMON::CheckoutTag(), KIGIT::PROJECT_GIT_UTILS::CreateBranch(), KIGIT_COMMON::CreateBranch(), KIGIT_COMMON::CreateMergedCommit(), KIGIT_COMMON::CreateTag(), KIGIT_COMMON::DeleteBranch(), KIGIT_COMMON::DeleteTag(), KIGIT_COMMON::DiscardChanges(), GIT_CONFIG_HANDLER::GetConfigString(), GIT_STATUS_HANDLER::GetCurrentBranchName(), GIT_STATUS_HANDLER::GetFileStatus(), KIGIT_COMMON::GetMergeConflicts(), KIGIT::PROJECT_GIT_UTILS::GetRepositoryForFile(), GIT_STATUS_HANDLER::GetWorkingDirectory(), GIT_INIT_HANDLER::InitializeRepository(), KIGIT_COMMON::IsPathInHead(), GIT_INIT_HANDLER::IsRepository(), PGM_KICAD::OnPgmExit(), PGM_SINGLE_TOP::OnPgmExit(), PGM_KICAD::OnPgmInit(), PGM_SINGLE_TOP::OnPgmInit(), GIT_COMMIT_HANDLER::PerformAmend(), GIT_CLONE_HANDLER::PerformClone(), GIT_COMMIT_HANDLER::PerformCommit(), GIT_PULL_HANDLER::PerformFetch(), GIT_PULL_HANDLER::PerformPull(), GIT_PUSH_HANDLER::PerformPush(), GIT_COMMIT_HANDLER::PerformUndoLastCommit(), KIGIT::ReadGitIdentity(), TEXT_EVAL_VCS::ReadSource(), KIGIT_COMMON::RemoveRemote(), KIGIT::PROJECT_GIT_UTILS::RemoveVCS(), KIGIT_COMMON::RestoreVersion(), KIGIT::PROJECT_GIT_UTILS::SafeFreeRepository(), KIGIT_COMMON::SetRemoteUrl(), GIT_INIT_HANDLER::SetupRemote(), KIGIT_COMMON::SetUserConfig(), PROJECT_TREE_PANE::showContextMenu(), KIGIT::StartTransfer(), KIGIT_COMMON::StashApply(), KIGIT_COMMON::StashDrop(), KIGIT_COMMON::StashPop(), KIGIT_COMMON::StashSave(), GIT_BRANCH_HANDLER::SwitchToBranch(), and GIT_STATUS_HANDLER::UpdateRemoteStatus().
| APIEXPORT void SetGitBackend | ( | GIT_BACKEND * | aBackend | ) |
Definition at line 30 of file git_backend.cpp.
References s_backend.
Referenced by BOOST_AUTO_TEST_CASE(), PGM_KICAD::OnPgmExit(), PGM_SINGLE_TOP::OnPgmExit(), PGM_KICAD::OnPgmInit(), PGM_SINGLE_TOP::OnPgmInit(), SCOPED_GIT_BACKEND::SCOPED_GIT_BACKEND(), and SCOPED_GIT_BACKEND::~SCOPED_GIT_BACKEND().