srushti / goldberg

Goldberg is a lightweight CI server written in Ruby which worries about Bundler & RVM so that you don't have to.
Other
243 stars 29 forks source link

Use checkout instead of co which may not be available depending on Git version #61

Closed rohitarondekar closed 13 years ago

rohitarondekar commented 13 years ago

Use checkout instead of co which may not be available depending on Git version

This is what co gives:

root@li225-165:~/.goldberg/projects/devise/code# git co Gemfile.lock
git: 'co' is not a git command. See 'git --help'.

Did you mean one of these?
    clone
    log

This causes this to return true even though the file is versioned: https://github.com/c42/goldberg/blob/master/app/models/repository.rb#L29

srushti commented 13 years ago

There we go then. Thanks for catching this.