# File lib/librarian/source/git/repository.rb, line 73
        def has_commit?(sha)
          command = ??(log -1 --no-color --format=tformat:%H #{sha})
          run!(command, :chdir => true).strip == sha
        rescue Posix::CommandFailure => e
          false
        end