diff options
Diffstat (limited to 'models/git/lfs.go')
-rw-r--r-- | models/git/lfs.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/models/git/lfs.go b/models/git/lfs.go index 837dc9fd31..bb6361050a 100644 --- a/models/git/lfs.go +++ b/models/git/lfs.go @@ -136,8 +136,6 @@ var ErrLFSObjectNotExist = db.ErrNotExist{Resource: "LFS Meta object"} // NewLFSMetaObject stores a given populated LFSMetaObject structure in the database // if it is not already present. func NewLFSMetaObject(ctx context.Context, repoID int64, p lfs.Pointer) (*LFSMetaObject, error) { - var err error - ctx, committer, err := db.TxContext(ctx) if err != nil { return nil, err |