Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't autocomplete .git

  • Loading branch information...
commit 5e7471a5020de40dade876c766fce265763700b0 1 parent 77e5fe5
@judofyr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  arc
View
2  arc
@@ -15,7 +15,7 @@ class Arc
end
def files
- @files ||= @path.children.select { |p| p.directory? }
+ @files ||= @path.children.select { |p| p.directory? }.reject { |p| p.to_s =~ /.git$/ }
end
def main_for(path)
Please sign in to comment.
Something went wrong with that request. Please try again.