Skip to content
Permalink
Browse files

current_project(): don't bail at Git repos (#29108)

  • Loading branch information...
mortenpi authored and StefanKarpinski committed Sep 11, 2018
1 parent e85af88 commit 70c7298110318cc984c230b7ce61bed7821a57bb
Showing with 2 additions and 2 deletions.
  1. +2 −2 base/initdefs.jl
@@ -90,8 +90,8 @@ function current_project(dir::AbstractString)
file = joinpath(dir, proj)
isfile_casesensitive(file) && return file
end
# bail at home directory or top of git repo
(dir == home || ispath(joinpath(dir, ".git"))) && break
# bail at home directory
dir == home && break
old, dir = dir, dirname(dir)
dir == old && break
end

0 comments on commit 70c7298

Please sign in to comment.
You can’t perform that action at this time.