|
KiCad PCB EDA Suite
|
#include <git/git_backend.h>#include <git/git_compare_handler.h>#include <git/git_transfer_busy.h>#include <git/kicad_git_errors.h>#include <git/kigit_action_lock.h>#include <git/kigit_known_hosts.h>#include <git/kigit_remote_url.h>#include <import_export.h>#include <git2.h>#include <atomic>#include <chrono>#include <functional>#include <memory>#include <mutex>#include <optional>#include <set>#include <utility>#include <vector>#include <wx/datetime.h>#include <wx/string.h>Go to the source code of this file.
Classes | |
| struct | KIGIT_COMMIT_INFO |
| struct | KIGIT_STASH_DETAIL |
| struct | KIGIT_BRANCH_INFO |
| struct | KIGIT_AHEAD_BEHIND |
| struct | KIGIT_UPSTREAM_STATUS |
| Where the current branch stands against its upstream. More... | |
| struct | KIGIT_BRANCH_DETAIL |
| struct | KIGIT_HISTORY_FILTER |
| struct | KIGIT_COMMIT_FILE |
| struct | KIGIT_COMMIT_DETAIL |
| struct | KIGIT_STASH_INFO |
| struct | KIGIT_TAG_INFO |
| struct | KIGIT_TAG_DETAIL |
| struct | KIGIT_CONFLICT_SIDES |
| class | KIGIT_COMMON |
| The project's git session. More... | |
| struct | KIGIT_COMMON::CREDENTIAL_IDENTITY |
| The remote the credential prompt was opened for. More... | |
| struct | KIGIT_COMMON::PROMPTED_CREDENTIALS |
| What the credential prompt collected. More... | |
| class | KIGIT_COMMON::OPERATION_GUARD |
| Publishes a token for as long as its operation runs. More... | |
Namespaces | |
| namespace | KIGIT |
Enumerations | |
| enum class | GitOperation { None , Merge , Rebase , CherryPick , Revert , Other } |
| enum class | RestoreResult { Restored , AlreadyCurrent , Dirty , Error } |
Functions | |
| APIEXPORT int | fetchhead_foreach_cb (const char *, const char *, const git_oid *aOID, unsigned int aIsMerge, void *aPayload) |
| wxString | KIGIT::ConfiguredSSHCommand (git_repository *aRepo) |
git's core.sshCommand for aRepo, or from the user's git config when aRepo is null. Empty when unset. | |
| APIEXPORT wxWindow *& | KIGIT::ActiveAdvancedGitWindow () |
| The advanced git window, or null when none is open. | |
| git_tree * | KIGIT::ResolveRefToTree (git_repository *aRepo, const wxString &aRef) |
| Resolve a string ref (branch name, short OID, full OID, tag) to its tree. | |
| std::vector< wxString > | KIGIT::CompareBranchRefs (git_repository *aRepo) |
| Refs to offer when comparing branches, base first and head second. | |
| void | KIGIT::CollectDiffDeltas (git_diff *aDiff, const std::function< void(const git_diff_delta &)> &aCallback) |
Walk every delta in a computed diff, invoking aCallback once per delta. | |
| wxString | KIGIT::ComposeCommitMessage (const wxString &aSummary, const wxString &aDescription, const wxString &aSignOff) |
| Join a summary line, an optional description and an optional sign-off into one commit message. | |
| void | KIGIT::SplitCommitMessage (const wxString &aMessage, wxString &aSummary, wxString &aDescription) |
| Split a commit message into its first line and the description after the first blank line. | |
| std::vector< std::pair< std::string, std::string > > | KIGIT::MessageTrailers (const std::string &aMessage) |
| The trailers git interpret-trailers finds at the end of aMessage, as key and value, in order. | |
| bool | KIGIT::IsKicadRecordRef (const wxString &aName) |
| True for a full ref name under which a Design Workspace keeps its records, such as claims and release tags. | |
| wxString | KIGIT::BranchNameError (const wxString &aName) |
| Empty when aName is a branch name git would accept, otherwise why it would not, in the words to show the user. | |
| wxString | KIGIT::DecodeRepoText (const char *aText) |
| Decode text that came out of a repository. | |
| wxString | KIGIT::BusyMessage () |
| What every caller says when it finds the session already busy. | |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Merge | |
| Rebase | |
| CherryPick | |
| Revert | |
| Other | |
Definition at line 195 of file kicad_git_common.h.
|
strong |
| Enumerator | |
|---|---|
| Restored | A new commit carrying the old version's content was created. |
| AlreadyCurrent | The chosen version's content matches the current head. |
| Dirty | Uncommitted changes exist, and restoring would overwrite them. |
| Error | The restore failed. See the error string. |
Definition at line 207 of file kicad_git_common.h.
| APIEXPORT int fetchhead_foreach_cb | ( | const char * | , |
| const char * | , | ||
| const git_oid * | aOID, | ||
| unsigned int | aIsMerge, | ||
| void * | aPayload ) |
Definition at line 2492 of file kicad_git_common.cpp.
Referenced by LIBGIT_BACKEND::PerformPull().