sc68cal/git-tfs — comment on commit 8a42a420aedbe904a6f0978c8eecaef090b1d4b8
File: GitTfs/Core/GitRepository.cs line 408
By nulltoken:

How about this?

```C#
if ((blob = repo.Lookup(sha)) != null)
using (Stream stream = blob.ContentStream)
Copy(stream, outputFile);

private void Copy(Stream gitstream, string file)
{
using (var destination = File.Create(file))
{
gitstream.CopyTo(destination);
}
}
```