summaryrefslogtreecommitdiff
path: root/Types/FileMatcher.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2020-12-14 17:54:25 -0400
committerJoey Hess <joeyh@joeyh.name>2020-12-14 17:54:25 -0400
commit5e094d02d64088719572563c066148c07457e2ea (patch)
tree8595640ffdd70caf598c17429a23226690d5f6f9 /Types/FileMatcher.hs
parent9de5506f194b51c6ed9eb9061ec5d09dee1142fa (diff)
avoid using MatchingKey where MatchingFile can be used now
This is actually matching worktree files, and now that a Key can be provided along with the file when doing that, using MatchingFile reflects that.
Diffstat (limited to 'Types/FileMatcher.hs')
-rw-r--r--Types/FileMatcher.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/FileMatcher.hs b/Types/FileMatcher.hs
index 3b5adca1de..2b8811d743 100644
--- a/Types/FileMatcher.hs
+++ b/Types/FileMatcher.hs
@@ -22,7 +22,7 @@ import qualified Data.Set as S
data MatchInfo
= MatchingFile FileInfo
| MatchingKey Key AssociatedFile
- -- ^ This is used when operating on a file that may be in another
+ -- ^ This is used when matching a file that may be in another
-- branch. The AssociatedFile is the filename, but it should not be
-- accessed from disk when matching.
| MatchingInfo ProvidedInfo