repomind 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40878,7 +40878,7 @@ function DiffStats({
|
|
|
40878
40878
|
// src/ui/components/commit-card.tsx
|
|
40879
40879
|
var import_jsx_runtime13 = __toESM(require_jsx_runtime(), 1);
|
|
40880
40880
|
function formatSelection(f) {
|
|
40881
|
-
if (f.selection === "all") return "all";
|
|
40881
|
+
if (!f.selection || f.selection === "all") return "all";
|
|
40882
40882
|
return f.selection.map((h) => `h${h.hunkIndex}`).join(",");
|
|
40883
40883
|
}
|
|
40884
40884
|
function CommitCard(props) {
|
|
@@ -41190,7 +41190,7 @@ function SplitApp({
|
|
|
41190
41190
|
try {
|
|
41191
41191
|
await deps.resetStaging();
|
|
41192
41192
|
for (const fileRef of group.files) {
|
|
41193
|
-
if (fileRef.selection === "all") {
|
|
41193
|
+
if (!fileRef.selection || fileRef.selection === "all") {
|
|
41194
41194
|
await deps.stageFile(fileRef.path);
|
|
41195
41195
|
} else {
|
|
41196
41196
|
const currentDiff = await deps.getFileDiff(fileRef.path);
|