We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0991b00 commit b4b87ffCopy full SHA for b4b87ff
extensions/git/src/commands.ts
@@ -4160,6 +4160,17 @@ export class CommandCenter {
4160
4161
private async _viewResourceGroupChanges(repository: Repository, resourceGroup: GitResourceGroup): Promise<void> {
4162
if (resourceGroup.resourceStates.length === 0) {
4163
+ switch (resourceGroup.id) {
4164
+ case 'index':
4165
+ window.showInformationMessage(l10n.t('The repository does not have any staged changes.'));
4166
+ break;
4167
+ case 'workingTree':
4168
+ window.showInformationMessage(l10n.t('The repository does not have any changes.'));
4169
4170
+ case 'untracked':
4171
+ window.showInformationMessage(l10n.t('The repository does not have any untracked changes.'));
4172
4173
+ }
4174
return;
4175
}
4176
0 commit comments