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

Make sure inspect doesn't generate crazy string

parent 7f630d1ec206
...@@ -79,6 +79,10 @@ def path_to_repo ...@@ -79,6 +79,10 @@ def path_to_repo
) )
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