Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
c75abce49d8f
Commit
b6b6b640
authored
Feb 14, 2013
by
Pierre Gambarotto
Browse files
fix archive download : not creating namespace directory
parent
a5947e44dd87
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/repository.rb
View file @
c75abce4
...
...
@@ -141,7 +141,7 @@ def archive_repo(ref)
# Create file if not exists
unless
File
.
exists?
(
file_path
)
FileUtils
.
mkdir_p
storag
e_path
FileUtils
.
mkdir_p
File
.
dirname
(
fil
e_path
)
file
=
self
.
repo
.
archive_to_file
(
ref
,
prefix
,
file_path
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment