libgit2/libgit2sharp — Issue #106: What is the best way to find access a file from any commit?
Author: nmartin867
Created: 2012-02-01 20:20:34+00:00
State: open

The Commit object on a particular branch allows access to a file Blob using a relative path i.e

Commit['some_relative_path'].Target

I need to be able to find a file on a particular branch and the file may not have been included in the last (most current commit). What is the best way to do this? Should I iterate through each Commit? (Branch.Commits)

Thanks a lot!