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
Léo-Paul Géneau
gitlab-ce
Commits
72f984e3
Commit
72f984e3
authored
Oct 26, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent grit from caching graph commits
parent
1c9351ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/repositories/tags.html.haml
app/views/repositories/tags.html.haml
+1
-1
lib/gitlab/graph_commit.rb
lib/gitlab/graph_commit.rb
+1
-1
No files found.
app/views/repositories/tags.html.haml
View file @
72f984e3
...
...
@@ -15,7 +15,7 @@
=
link_to
project_commits_path
(
@project
,
tag
.
name
),
class:
""
do
%i
.icon-tag
=
tag
.
name
%small
.light
=
truncate
(
tag
.
message
,
length:
70
)
%small
.light
=
truncate
(
tag
.
message
||
''
,
length:
70
)
%td
=
image_tag
gravatar_icon
(
commit
.
author_email
),
class:
"avatar s16"
=
link_to
project_commit_path
(
@project
,
commit
.
id
),
class:
'commit_short_id'
do
...
...
lib/gitlab/graph_commit.rb
View file @
72f984e3
...
...
@@ -9,7 +9,7 @@ module Gitlab
def
self
.
to_graph
(
project
)
@repo
=
project
.
repo
commits
=
Grit
::
Commit
.
find_all
(
@repo
,
nil
,
{
max_count:
650
})
commits
=
Grit
::
Commit
.
find_all
(
@repo
,
nil
,
{
max_count:
650
})
.
dup
ref_cache
=
{}
...
...
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