summaryrefslogtreecommitdiff
path: root/lib/gitano/repository.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitano/repository.lua')
-rw-r--r--lib/gitano/repository.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gitano/repository.lua b/lib/gitano/repository.lua
index b66c343..b7e2ccc 100644
--- a/lib/gitano/repository.lua
+++ b/lib/gitano/repository.lua
@@ -489,6 +489,11 @@ function repo_method:realise()
self.git = r
self.is_nascent = nil
+ r, msg = self.git:update_server_info()
+ if not r then
+ return false, msg
+ end
+
-- Finally, we're not nascent, validate the repo
return self:run_checks()
end