gitlabhq/gitlabhq — pull request #1865 by russss (2012-10-29 15:15:28+00:00)
Title: Make the rake import_projects task work again

Somewhere in the last month or so, this task has been completely broken, with the error: "ERROR: Failed to create project # because [:owner, "can't be blank"]"

This pull request makes it work again, and also makes it work properly if the bare repositories you're importing end in ".git".