Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
024f229ab329
Commit
e6630d7f
authored
Aug 29, 2017
by
Lin Jen-Shin
Browse files
Make sure inspect doesn't generate crazy string
parent
7f630d1ec206
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/repository.rb
View file @
024f229a
...
...
@@ -79,6 +79,10 @@ def path_to_repo
)
end
def
inspect
"#<
#{
self
.
class
.
name
}
:
#{
@disk_path
}
>"
end
#
# Git repository can contains some hidden refs like:
# /refs/notes/*
...
...
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