We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fb4d81 commit 8e318dcCopy full SHA for 8e318dc
Sources/SourceControl/GitRepository.swift
@@ -1088,11 +1088,11 @@ private class GitFileSystemView: FileSystem {
1088
switch entry.type {
1089
case .symlink:
1090
let path = try repository.readLink(hash: hash)
1091
- return try readFileContents(TSCAbsolutePath(validating: path))
+ return try readFileContents(AbsolutePath(validating: path))
1092
case .blob:
1093
return try self.repository.readBlob(hash: hash)
1094
default:
1095
- fatalError()
+ throw InternalError("unsupported git entry type \(entry.type) at path \(path)")
1096
}
1097
1098
0 commit comments