summaryrefslogtreecommitdiff
path: root/Annex/View.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-18 20:57:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-18 20:57:14 -0400
commit935f5ed55b1ed9a218955fdd34cb40db3b1c9425 (patch)
tree0409ba3b6decae4764b39b0b4b827d093f081039 /Annex/View.hs
parent59d66243ab57890cbbe7fdc0a7c7c78c24702b95 (diff)
fix view changing when in subdir
Failed reading some files with relative paths. This is a quick and dirty fix.
Diffstat (limited to 'Annex/View.hs')
-rw-r--r--Annex/View.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Annex/View.hs b/Annex/View.hs
index eb3254e8e..d407ce4c9 100644
--- a/Annex/View.hs
+++ b/Annex/View.hs
@@ -244,7 +244,8 @@ narrowView = applyView' fileViewReuse
- Look up the metadata of annexed files, and generate any FileViews,
- and stage them.
-
- - Currently only works in indirect mode.
+ - Currently only works in indirect mode. Must be run from top of
+ - repository.
-}
applyView' :: MkFileView -> View -> Annex Git.Branch
applyView' mkfileview view = do