Add desktop store and entry creation workflows

This commit is contained in:
hugo committed 2026-08-10 18:58:33 +02:00
1 parent 75d4ead3d8
commit bb650c2b5c
8 files changed
+1330 -57

No files matched your search

+5 -2
View File
@@ -938,8 +938,11 @@ impl GitRepository {
path: &Path,
identity: GitIdentity,
) -> Result<Self, GitError> {
let relative = validate_relative(path)?;
let mut candidate = store.root_path().join(relative);
let mut candidate = if path.as_os_str().is_empty() {
store.root_path().to_owned()
} else {
store.root_path().join(validate_relative(path)?)
};
if !candidate.is_dir() {
candidate.pop();
}