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 paths that contain `.git`
main
Eric Amodio
6 years ago
parent
2ac71647cb
commit
0363bcf6c6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/git/models/repository.ts
+ 1
- 1
src/git/models/repository.ts
View File
@ -138,7 +138,7 @@ export class Repository extends Disposable {
private
onFileSystemChanged
(
uri
:
Uri
)
{
// Ignore .git changes
if
(
/\.git/
.
test
(
uri
.
fsPath
)
)
return
;
if
(
/\.git
(?:\/|\\|$)
/
.
test
(
uri
.
fsPath
)
)
return
;
this
.
fireFileSystemChange
(
uri
)
;
}
Write
Preview
Loading…
Cancel
Save