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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
e396b437
Commit
e396b437
authored
Jan 31, 2017
by
Adam Niedzielski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused method Gitlab::Git::Repository#commits_since
parent
194c8891
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
lib/gitlab/git/repository.rb
lib/gitlab/git/repository.rb
+0
-17
No files found.
lib/gitlab/git/repository.rb
View file @
e396b437
...
...
@@ -828,23 +828,6 @@ module Gitlab
Rugged
::
Commit
.
create
(
rugged
,
actual_options
)
end
def
commits_since
(
from_date
)
walker
=
Rugged
::
Walker
.
new
(
rugged
)
walker
.
sorting
(
Rugged
::
SORT_DATE
|
Rugged
::
SORT_REVERSE
)
rugged
.
references
.
each
(
"refs/heads/*"
)
do
|
ref
|
walker
.
push
(
ref
.
target_id
)
end
commits
=
[]
walker
.
each
do
|
commit
|
break
if
commit
.
author
[
:time
].
to_date
<
from_date
commits
.
push
(
commit
)
end
commits
end
AUTOCRLF_VALUES
=
{
"true"
=>
true
,
"false"
=>
false
,
...
...
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