Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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-ce
Commits
0d6cbe4a
Commit
0d6cbe4a
authored
Jan 07, 2020
by
Allison Browne
Committed by
Lin Jen-Shin
Jan 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Typo in app/models/repository.rb
parent
776a6b56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/models/repository.rb
app/models/repository.rb
+2
-2
No files found.
app/models/repository.rb
View file @
0d6cbe4a
...
@@ -1127,8 +1127,8 @@ class Repository
...
@@ -1127,8 +1127,8 @@ class Repository
private
private
# TODO Generice finder, later split this on finders by Ref or Oid
# TODO Generic
iz
e finder, later split this on finders by Ref or Oid
# https://gitlab.com/gitlab-org/gitlab
-foss/issues/39239
# https://gitlab.com/gitlab-org/gitlab
/issues/19877
def
find_commit
(
oid_or_ref
)
def
find_commit
(
oid_or_ref
)
commit
=
if
oid_or_ref
.
is_a?
(
Gitlab
::
Git
::
Commit
)
commit
=
if
oid_or_ref
.
is_a?
(
Gitlab
::
Git
::
Commit
)
oid_or_ref
oid_or_ref
...
...
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