feat: update

This commit is contained in:
2025-05-25 16:12:29 +02:00
parent b86fec2a58
commit 15298f1f96
4 changed files with 853 additions and 560 deletions

View File

@@ -129,7 +129,7 @@ pub fn execute_init(exe_submatch: &ArgMatches, _cli: CuddleCli) -> anyhow::Resul
if dir.count() != 0 {
for entry in read_dir(&path)? {
let entry = entry?;
if entry.file_name() == ".git" {
if entry.file_name() == ".git" || entry.file_name() == ".jj" {
continue;
} else {
anyhow::bail!("Directory {} is not empty", &path);