Merge pull request #225 from tsl0922/fix-commit-log
Fix commit log view nil error
This commit is contained in:
commit
4047cd1ed0
1 changed files with 3 additions and 2 deletions
|
|
@ -415,9 +415,10 @@ public class PasswordStore {
|
||||||
try enumerator.pushSHA(targetOID.sha)
|
try enumerator.pushSHA(targetOID.sha)
|
||||||
}
|
}
|
||||||
for _ in 0 ..< count {
|
for _ in 0 ..< count {
|
||||||
let commit = try enumerator.nextObject(withSuccess: nil)
|
if let commit = try? enumerator.nextObject(withSuccess: nil) {
|
||||||
commits.append(commit)
|
commits.append(commit)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return commits
|
return commits
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue