Il sito funziona meglio con JavaScript.
Home
Esplora
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Uses branch rather than attempting to use sha
main
Eric Amodio
7 anni fa
parent
61f002420a
commit
5c2712bcb7
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-1
src/quickPicks/repoStatus.ts
+ 1
- 1
src/quickPicks/repoStatus.ts
Vedi File
@ -134,7 +134,7 @@ export class RepoStatusQuickPick {
label
:
`
$
(cloud-download)
\
u00a0
${
status
.
state
.
behind
}
Commit
${
status
.
state
.
behind
>
1
?
's'
:
''
}
behind
\
u00a0
$
(git-branch)
${
status
.
upstream
}
`
,
description
:
`
\
u00a0
\
u2014
\
u00a0
\
u00a0 shows commits in
\
u00a0
$
(git-branch)
${
status
.
upstream
}
but not
\
u00a0
$
(git-branch)
${
status
.
branch
}
${
status
.
sha
?
`
(since
\
u00a0
$
(git-commit)
${
status
.
sha
.
substring
(
0
,
8
)
}
)
`
:
''
}
`
}
,
Commands
.
ShowQuickBranchHistory
,
[
new
GitUri
(
Uri
.
file
(
status
.
repoPath
)
,
{
fileName
:
''
,
repoPath
:
status.repoPath
,
sha
:
`
${
status
.
sha
?
status
.
sha
:
'HEAD'
}
..
${
status
.
upstream
}
`
}
)
,
new
GitUri
(
Uri
.
file
(
status
.
repoPath
)
,
{
fileName
:
''
,
repoPath
:
status.repoPath
,
sha
:
`
${
status
.
branch
}
..
${
status
.
upstream
}
`
}
)
,
status
.
upstream
,
0
,
new
CommandQuickPickItem
(
{
Scrivi
Anteprima
Caricamento…
Annulla
Salva