Repository#file_at: don't throw an exception on nonexistent path #49

Merged
merged 1 commit into from Apr 28, 2012
Commits on Apr 9, 2012
  1. Repository#file_at: don't throw an exception on nonexistent path

    carlosmn committed Apr 8, 2012
    If the path doesn't exist, trying to access blob_data[:oid] would
    throw a NoMethodError. Check whether the file exists and return nil if
    it doesn't instead.