KiCad PCB EDA Suite
Loading...
Searching...
No Matches
git_credentials_prompt.h File Reference
#include <git/git_config_handler.h>
#include <settings/common_settings.h>
#include <memory>
#include <wx/string.h>

Go to the source code of this file.

Classes

struct  KIGIT::GIT_IDENTITY
 Repository values and whether Git can use them to record a commit. More...
 

Namespaces

namespace  KIGIT
 

Functions

bool KIGIT::PromptForCredentials (wxWindow *aParent, KIGIT_COMMON *aCommon, PROJECT *aProject=nullptr)
 Ask the user for the credentials of the session's remote and apply them to the session.
 
GIT_IDENTITY KIGIT::ReadGitIdentity (KIGIT_COMMON &aCommon)
 Read on a worker while holding the session's action lock.
 
GitUserConfig KIGIT::ResolveGitIdentity (const GIT_IDENTITY &aIdentity, const COMMON_SETTINGS::GIT &aPreferences, const wxString &aUserName)
 Fill missing values from custom preferences, then use the OS user name if needed.
 
bool KIGIT::EditGitIdentity (wxWindow *aParent, EDA_BASE_FRAME *aFrame, const std::shared_ptr< KIGIT_COMMON > &aCommon, const GIT_IDENTITY &aIdentity)
 Edit the repository's author and refresh Git views after saving.
 
bool KIGIT::EnsureGitIdentity (wxWindow *aParent, EDA_BASE_FRAME *aFrame, const std::shared_ptr< KIGIT_COMMON > &aCommon, const GIT_IDENTITY &aIdentity)
 Open the same editor when the worker snapshot has no usable Git identity.