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
c65d0abb0437
Commit
7fad4a96
authored
Feb 14, 2013
by
Dmitriy Zaporozhets
Browse files
Merge pull request #2989 from PierreGambarotto/master
archive download : namespace directory not created
parents
e7379eed7637
c75abce49d8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/repository.rb
View file @
c65d0abb
...
...
@@ -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