Commit e6630d7f authored by Lin Jen-Shin's avatar Lin Jen-Shin

Make sure inspect doesn't generate crazy string

parent 6d9fb6b0
...@@ -79,6 +79,10 @@ class Repository ...@@ -79,6 +79,10 @@ class Repository
) )
end end
def inspect
"#<#{self.class.name}:#{@disk_path}>"
end
# #
# Git repository can contains some hidden refs like: # Git repository can contains some hidden refs like:
# /refs/notes/* # /refs/notes/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment