Open
Description
I'm trying to get all commits that a particular file is associated with. This is the code that I'm running:
IEnumerable<LogEntry> fileHistory = repo.Commits.QueryBy(fileRelativePath);
foreach (LogEntry version in fileHistory){
// do something...
}
The foreach throws a KeyNotFoundException. Any idea on how to overcome this?
I'm using: LibGit2Sharp.0.23.1
Metadata
Metadata
Assignees
Labels
No labels