Quellcode durchsuchen

Fixes counter issue with single repo

main
Eric Amodio vor 4 Jahren
Ursprung
Commit
4a8a53978c
10 geänderte Dateien mit 30 neuen und 10 gelöschten Zeilen
  1. +3
    -1
      src/commands/git/cherry-pick.ts
  2. +3
    -1
      src/commands/git/coauthors.ts
  3. +3
    -1
      src/commands/git/log.ts
  4. +3
    -1
      src/commands/git/merge.ts
  5. +3
    -1
      src/commands/git/rebase.ts
  6. +3
    -1
      src/commands/git/reset.ts
  7. +3
    -1
      src/commands/git/revert.ts
  8. +3
    -1
      src/commands/git/search.ts
  9. +3
    -1
      src/commands/git/show.ts
  10. +3
    -1
      src/commands/git/status.ts

+ 3
- 1
src/commands/git/cherry-pick.ts Datei anzeigen

@ -105,7 +105,9 @@ export class CherryPickGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/coauthors.ts Datei anzeigen

@ -124,7 +124,9 @@ export class CoAuthorsGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/log.ts Datei anzeigen

@ -91,7 +91,9 @@ export class LogGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/merge.ts Datei anzeigen

@ -98,7 +98,9 @@ export class MergeGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/rebase.ts Datei anzeigen

@ -99,7 +99,9 @@ export class RebaseGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/reset.ts Datei anzeigen

@ -90,7 +90,9 @@ export class ResetGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/revert.ts Datei anzeigen

@ -89,7 +89,9 @@ export class RevertGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/search.ts Datei anzeigen

@ -116,7 +116,9 @@ export class SearchGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/show.ts Datei anzeigen

@ -89,7 +89,9 @@ export class ShowGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

+ 3
- 1
src/commands/git/status.ts Datei anzeigen

@ -69,7 +69,9 @@ export class StatusGitCommand extends QuickCommand {
skippedStepOne = false;
if (context.repos.length === 1) {
skippedStepOne = true;
state.counter++;
if (state.repo == null) {
state.counter++;
}
state.repo = context.repos[0];
} else {

Laden…
Abbrechen
Speichern