unused: Pay attention to symlinks that are not yet staged in the index.

This commit is contained in:
Joey Hess 2013-08-22 10:20:03 -04:00
parent d603f536bd
commit 6fd2935a5a
3 changed files with 8 additions and 1 deletions

View file

@ -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