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
Adds the current user e-mail when uncommitted
main
Eric Amodio
6 years ago
parent
c6f2c8e2f7
commit
6ac613961b
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/git/parsers/blameParser.ts
+ 5
- 0
src/git/parsers/blameParser.ts
View File
@ -73,6 +73,11 @@ export class GitBlameParser {
break
;
case
'author-mail'
:
if
(
Git
.
isUncommitted
(
entry
.
sha
)
)
{
entry
.
authorEmail
=
currentUser
!==
undefined
?
currentUser.email
:
undefined
;
continue
;
}
entry
.
authorEmail
=
lineParts
.
slice
(
1
)
.
join
(
' '
)
Write
Preview
Loading…
Cancel
Save