summaryrefslogtreecommitdiff
path: root/lib/api/files.rb
diff options
context:
space:
mode:
authorDimitry Andric <d.andric@activevideo.com>2014-11-13 13:09:47 +0100
committerDimitry Andric <d.andric@activevideo.com>2014-11-13 13:09:47 +0100
commit4a5044e30269f8b3c6c075093cd4646a478231c7 (patch)
tree08385c2a5c9fcea310d119cb200f0b9f1e8f2252 /lib/api/files.rb
parent6adc313a1f48809543c626aa226ad56979cdde99 (diff)
downloadgitlab-ce-4a5044e30269f8b3c6c075093cd4646a478231c7.tar.gz
Correctly restore empty repositories.
If a project is being restored, but there is no bundle file, the project was empty when it was backed up. In this case, just use git init --base to create a new bare repository.
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions