Este site funciona melhor com JavaScript.
Página inicial
Explorar
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Fixes counter issue with single repo
main
Eric Amodio
4 anos atrás
pai
0e9fde9386
commit
4a8a53978c
10 arquivos alterados
com
30 adições
e
10 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-1
src/commands/git/cherry-pick.ts
+3
-1
src/commands/git/coauthors.ts
+3
-1
src/commands/git/log.ts
+3
-1
src/commands/git/merge.ts
+3
-1
src/commands/git/rebase.ts
+3
-1
src/commands/git/reset.ts
+3
-1
src/commands/git/revert.ts
+3
-1
src/commands/git/search.ts
+3
-1
src/commands/git/show.ts
+3
-1
src/commands/git/status.ts
+ 3
- 1
src/commands/git/cherry-pick.ts
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
Ver arquivo
@ -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
{
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar