change user-visible error to giveup
This commit is contained in:
parent
954816f1eb
commit
3847aa3c9c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ fixupUnusualRepos r@(Repo { location = l@(Local { worktree = Just w, gitdir = d
|
|||
R.createSymbolicLink linktarget dotgit
|
||||
|
||||
unsetcoreworktree =
|
||||
maybe (error "unset core.worktree failed") (\_ -> return ())
|
||||
maybe (giveup "unset core.worktree failed") (\_ -> return ())
|
||||
=<< Git.Config.unset "core.worktree" r
|
||||
|
||||
worktreefixup =
|
||||
|
|
Loading…
Reference in a new issue