libgit2/libgit2sharp — pull request #177 by jamill (2013-07-11 20:45:17+00:00)
Title: Add support for "git checkout <sha> -- file"

Add support for the Git command:

```git checkout -- file```

For example, to checkout ```foo.txt``` from the changeset ```HEAD```, it would be:

```git checkout HEAD -- foo.txt```

It would be nice if the API also exposed a parameter to specify the output path (i.e. the path the file is checked out to, which by default is the path the file is on the revision).

This requires handling of line endings (CRLF, CR and LF conversions).