This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Uses branch rather than attempting to use sha
main
Eric Amodio
7 years ago
parent
61f002420a
commit
5c2712bcb7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/quickPicks/repoStatus.ts
+ 1
- 1
src/quickPicks/repoStatus.ts
View 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
(
{
Write
Preview
Loading…
Cancel
Save