• Sean McGivern's avatar
    Don't call FindCommit for raw blobs · 7a0aee12
    Sean McGivern authored
    `Repository#blob_at` can accept a reference or a SHA, so we don't need
    to find the commit for the reference, we can just pass it straight
    through.
    
    We also make sure that `Repository#blob_at` doesn't try to do anything
    fancy with a README unless the file could be a README.
    7a0aee12
repository.rb 31.8 KB