|
KiCad PCB EDA Suite
|
Repository state used before an operation that requires a clean working tree. More...
#include <git_status_entries.h>
Public Member Functions | |
| wxString | RefusalMessage (const std::vector< wxString > &aUnsavedEditors, bool aAllowTrackedChanges=false) const |
| Empty when rewriting is allowed. | |
Public Attributes | |
| bool | checked = false |
| bool | hasTrackedChanges = false |
| wxString | lfsMessage |
| std::vector< wxString > | outsideProject |
Repository state used before an operation that requires a clean working tree.
Read on a worker and combined with live editor state on the UI thread, so unsaved work is never mistaken for an uncommitted file. Stash creation uses the tracked state after saving editors.
Definition at line 125 of file git_status_entries.h.
| wxString GIT_WORKTREE_STATUS::RefusalMessage | ( | const std::vector< wxString > & | aUnsavedEditors, |
| bool | aAllowTrackedChanges = false ) const |
Empty when rewriting is allowed.
Unsaved editors take precedence over disk changes. Stash creation allows tracked changes because it records them before rewriting files.
Definition at line 690 of file git_status_entries.cpp.
References _, checked, hasTrackedChanges, lfsMessage, message, name, outsideProject, and path.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and ProjectSafeToRewrite().
| bool GIT_WORKTREE_STATUS::checked = false |
Definition at line 127 of file git_status_entries.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ReadGitWorktreeStatus(), and RefusalMessage().
| bool GIT_WORKTREE_STATUS::hasTrackedChanges = false |
Definition at line 128 of file git_status_entries.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ReadGitWorktreeStatus(), and RefusalMessage().
| wxString GIT_WORKTREE_STATUS::lfsMessage |
Definition at line 129 of file git_status_entries.h.
Referenced by BOOST_AUTO_TEST_CASE(), ReadGitWorktreeStatus(), and RefusalMessage().
| std::vector<wxString> GIT_WORKTREE_STATUS::outsideProject |
Definition at line 130 of file git_status_entries.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ReadGitWorktreeStatus(), and RefusalMessage().