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
|
R.createSymbolicLink linktarget dotgit
|
||||||
|
|
||||||
unsetcoreworktree =
|
unsetcoreworktree =
|
||||||
maybe (error "unset core.worktree failed") (\_ -> return ())
|
maybe (giveup "unset core.worktree failed") (\_ -> return ())
|
||||||
=<< Git.Config.unset "core.worktree" r
|
=<< Git.Config.unset "core.worktree" r
|
||||||
|
|
||||||
worktreefixup =
|
worktreefixup =
|
||||||
|
|
Loading…
Reference in a new issue