Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-workhorse
Commits
1b1069f8
Commit
1b1069f8
authored
Nov 25, 2015
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to check for zero size, this will be handled while storing the object.
parent
0d0bd209
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
lfs.go
lfs.go
+0
-5
No files found.
lfs.go
View file @
1b1069f8
...
@@ -33,11 +33,6 @@ func lfsAuthorizeHandler(handleFunc serviceHandleFunc) serviceHandleFunc {
...
@@ -33,11 +33,6 @@ func lfsAuthorizeHandler(handleFunc serviceHandleFunc) serviceHandleFunc {
return
return
}
}
if
r
.
LfsSize
==
0
{
fail500
(
w
,
"lfsAuthorizeHandler"
,
errors
.
New
(
"Lfs object size not specified."
))
return
}
if
err
:=
os
.
MkdirAll
(
r
.
StoreLFSPath
,
0700
);
err
!=
nil
{
if
err
:=
os
.
MkdirAll
(
r
.
StoreLFSPath
,
0700
);
err
!=
nil
{
fail500
(
w
,
"Couldn't create directory for storing LFS tmp objects."
,
err
)
fail500
(
w
,
"Couldn't create directory for storing LFS tmp objects."
,
err
)
return
return
...
...
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