summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-12 13:17:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-12 13:17:41 -0400
commit769daae61d888e080d0991776935685b444b807a (patch)
tree2564fc9d0d667dc3f9de3779b3d4b41db89762b4 /Git
parent64176b55f99208a3769494eedb71bdd0bb57dde7 (diff)
remove unused function
Diffstat (limited to 'Git')
-rw-r--r--Git/LsFiles.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Git/LsFiles.hs b/Git/LsFiles.hs
index 4f8ac3fc6..4edd6cefc 100644
--- a/Git/LsFiles.hs
+++ b/Git/LsFiles.hs
@@ -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)