refactored and generalized pre-command sanity checking
This commit is contained in:
parent
66194684ac
commit
5b74b130a3
38 changed files with 73 additions and 67 deletions
|
@ -19,7 +19,8 @@ import qualified Git
|
|||
import qualified Git.LsFiles as LsFiles
|
||||
|
||||
command :: [Command]
|
||||
command = [repoCommand "unannex" paramPaths seek "undo accidential add command"]
|
||||
command = [Command "unannex" paramPaths needsRepo seek
|
||||
"undo accidential add command"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withFilesInGit start]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue