remove unused function
This commit is contained in:
parent
f2ed0f9659
commit
0714b0bd03
1 changed files with 0 additions and 7 deletions
|
@ -10,7 +10,6 @@ module Git.LsFiles (
|
|||
notInRepo,
|
||||
staged,
|
||||
stagedNotDeleted,
|
||||
changedUnstaged,
|
||||
typeChanged,
|
||||
typeChangedStaged,
|
||||
Conflicting(..),
|
||||
|
@ -53,12 +52,6 @@ staged' ps l = pipeNullSplit $ prefix ++ ps ++ suffix
|
|||
prefix = [Params "diff --cached --name-only -z"]
|
||||
suffix = Param "--" : map File l
|
||||
|
||||
{- Returns a list of files that have unstaged changes. -}
|
||||
changedUnstaged :: [FilePath] -> Repo -> IO ([FilePath], IO Bool)
|
||||
changedUnstaged l = pipeNullSplit params
|
||||
where
|
||||
params = Params "diff --name-only -z --" : map File l
|
||||
|
||||
{- Returns a list of the files in the specified locations that are staged
|
||||
- for commit, and whose type has changed. -}
|
||||
typeChangedStaged :: [FilePath] -> Repo -> IO ([FilePath], IO Bool)
|
||||
|
|
Loading…
Add table
Reference in a new issue