tweak
This commit is contained in:
parent
97b31a525e
commit
8f069bd287
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
module GitRepo (
|
||||
GitRepo,
|
||||
gitRepoCurrent,
|
||||
gitRepoFromCwd,
|
||||
gitRepoFromPath,
|
||||
gitRepoFromUrl,
|
||||
gitWorkTree,
|
||||
|
@ -183,8 +183,8 @@ gitConfigRemotes repo = mapM construct remotes
|
|||
else gitRepoFromPath r
|
||||
|
||||
{- Finds the current git repository, which may be in a parent directory. -}
|
||||
gitRepoCurrent :: IO GitRepo
|
||||
gitRepoCurrent = do
|
||||
gitRepoFromCwd :: IO GitRepo
|
||||
gitRepoFromCwd = do
|
||||
cwd <- getCurrentDirectory
|
||||
top <- seekUp cwd isRepoTop
|
||||
case top of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue