Repository navigation
Commit ccd1fc3
committed
Prevent checkpoint creation for non-manual or temporary triggers when any workspace folder lacks git
- checkpoint should not be created automatically when not in git repository (as copying all files is very slow)
└── apps
└── editor
└── src
├── commands
│ ├── apply-response-command
│ │ └── apply-response-command.ts
│ ├── generate-commit-message-commands
│ │ └── actions
│ │ └── run-generate-action.ts
│ └── history-command
│ ├── actions
│ │ ├── clear-all-checkpoints.ts
│ │ ├── create-temporary-checkpoint.ts
│ │ ├── delete-checkpoint-with-undo.ts
│ │ ├── restore-checkpoint.ts
│ │ ├── sync-workspace-from-dir.ts
│ │ ├── toggle-checkpoint-pin.ts
│ │ └── update-checkpoint-description.ts
│ ├── history-command.ts
│ ├── index.ts
│ └── utils
│ └── sync-directory.ts
└── features
└── checkpoints
├── actions
│ ├── create-checkpoint.ts
│ ├── delete-checkpoint.ts
│ ├── get-checkpoints.ts
│ └── index.ts
├── types
│ ├── checkpoint.ts
│ └── index.ts
└── utils
├── copy-optimised-recursively.ts
├── get-checkpoint-path.ts
├── get-incremented-description.ts
├── git-utils.ts
└── index.ts1 parent b971752 commit ccd1fc3
2 files changed
Lines changed: 21 additions & 4 deletions
File tree
- apps/editor/src
- commands/history-command/actions
- features/checkpoints/actions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
25 | | - | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
29 | | - | |
30 | | - | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
| |||
0 commit comments