Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/WorkspaceFiles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ export default defineComponent({
async refresh() {
// --untracked-files=all - Also shows individual files in untracked directories
const data = await git_async([ 'status', '--porcelain', '--untracked-files=all' ]);
if (data) {
this.parseStatus(data);
}
// An empty result means a clean working tree (e.g. right after a commit or revert):
// it must still be applied, otherwise the list keeps stale entries.
this.parseStatus(data || '');
},
},
})
Expand Down
Loading