This website works better with JavaScript.
首頁
探索
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Uses branch rather than attempting to use sha
main
Eric Amodio
7 年之前
父節點
61f002420a
當前提交
5c2712bcb7
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/quickPicks/repoStatus.ts
+ 1
- 1
src/quickPicks/repoStatus.ts
查看文件
@ -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…
取消
儲存