|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | RemoteConfig |
| class | GIT_INIT_HANDLER |
Enumerations | |
| enum class | InitResult { Success , AlreadyExists , Error } |
Functions | |
| APIEXPORT void | ApplyKicadGitConventions (const wxString &aProjectPath) |
| Apply KiCad's standard repo conventions to a project directory: | |
|
strong |
| Enumerator | |
|---|---|
| Success | |
| AlreadyExists | |
| Error | |
Definition at line 27 of file git_init_handler.h.
| APIEXPORT void ApplyKicadGitConventions | ( | const wxString & | aProjectPath | ) |
Apply KiCad's standard repo conventions to a project directory:
merge=kicad-* lines so the in-process libgit2 drivers and external git merge both route design filesEach step is append-only: existing user content is preserved, never overwritten. Safe to call repeatedly. Used by both GIT_INIT_HANDLER (after init) and GIT_CLONE_HANDLER (after clone) so freshly-cloned repos get the same setup as freshly-init'd ones.
Definition at line 333 of file git_init_handler.cpp.
References ensureMergeDriverConfig(), ensureProjectGitattributes(), and ensureProjectGitignore().
Referenced by GIT_INIT_HANDLER::InitializeRepository(), and GIT_CLONE_HANDLER::PerformClone().