summaryrefslogtreecommitdiff
path: root/Command/Unused.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-22 10:20:03 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-22 10:20:03 -0400
commitffb0bf0ed51c3454fafdf7dcbc074910f5709942 (patch)
treeabb222ae52022457d0f37311813359b795764c6e /Command/Unused.hs
parent40e63f87c409d47686480a7ddf8b5034d1d7ddcd (diff)
unused: Pay attention to symlinks that are not yet staged in the index.
Diffstat (limited to 'Command/Unused.hs')
-rw-r--r--Command/Unused.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs
index 0a060aae6..7c43cbc6f 100644
--- a/Command/Unused.hs
+++ b/Command/Unused.hs
@@ -241,7 +241,7 @@ withKeysReferenced' mdir initial a = do
( return ([], return True)
, do
top <- fromRepo Git.repoPath
- inRepo $ LsFiles.inRepo [top]
+ inRepo $ LsFiles.allFiles [top]
)
Just dir -> inRepo $ LsFiles.inRepo [dir]
go v [] = return v