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
Fixes issue with staged sha showing
main
Eric Amodio
7 years ago
parent
65892f9b53
commit
73d3e4994d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/gitService.ts
+ 1
- 1
src/gitService.ts
View File
@ -1422,7 +1422,7 @@ export class GitService extends Disposable {
if
(
sha
===
undefined
)
return
undefined
;
if
(
sha
===
GitService
.
deletedSha
)
return
'(deleted)'
;
return
Git
.
isSha
(
sha
)
return
Git
.
isSha
(
sha
)
||
Git
.
isStagedUncommitted
(
sha
)
?
Git
.
shortenSha
(
sha
)
:
sha
;
}
Write
Preview
Loading…
Cancel
Save