git 逻辑

This commit is contained in:
2026-06-10 15:30:52 +08:00
parent 41f2a84979
commit 023ab2f30e
17 changed files with 221 additions and 64 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func TestWorktree_AddListRemove(t *testing.T) {
require.NoError(t, r.Clone(ctx, main, bare, "main", nil))
feat := filepath.Join(filepath.Dir(main), "feat-x")
require.NoError(t, r.WorktreeAdd(ctx, main, "feat-x", feat))
require.NoError(t, r.WorktreeAdd(ctx, main, "feat-x", feat, ""))
list, err := r.WorktreeList(ctx, main)
require.NoError(t, err)