使用 JavaScript能使本网站更好的工作。
首页
广场
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
关注
1
点赞
0
派生
0
代码
话题
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Uses branch rather than attempting to use sha
main
Eric Amodio
7 年前
父节点
61f002420a
当前提交
5c2712bcb7
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
(
{
撰写
预览
正在加载...
取消
保存