mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 15:41:31 +03:00
Merge pull request #3108 from gitbutlerapp/fix-windows-gbrepo-path-filtering
fix gbrepo path filtering on windows
This commit is contained in:
commit
bc626e4e92
@ -19,11 +19,10 @@ impl<'i> BranchIterator<'i> {
|
||||
.into_iter()
|
||||
.map(|file_path| {
|
||||
file_path
|
||||
.display()
|
||||
.to_string()
|
||||
.split('/')
|
||||
.iter()
|
||||
.next()
|
||||
.unwrap()
|
||||
.to_string_lossy()
|
||||
.to_string()
|
||||
})
|
||||
.filter(|file_path| file_path != "selected")
|
||||
|
Loading…
Reference in New Issue
Block a user