We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0813edf commit 3af024bCopy full SHA for 3af024b
crates/gitbutler-error/src/error.rs
@@ -139,6 +139,9 @@ pub enum Code {
139
SecretKeychainNotFound,
140
MissingLoginKeychain,
141
GitForcePushProtection,
142
+ /// When trying to open a project that is not in a git repository,
143
+ /// this error code is used to trigger special handling in the frontend.
144
+ /// The frontend will show a modal offering to initialize a git repository.
145
NonGitRepository,
146
}
147
0 commit comments