view: Fix a reversion in 8.20200522 that broke entering or changing views.

Commit 2dc7b5186a messed up indentation.

This commit was sponsored by Noam Kremen on Patreon.
This commit is contained in:
Joey Hess 2020-11-02 14:47:08 -04:00
parent efdb13fca3
commit 9252f86b2e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 6 additions and 1 deletions

View file

@ -360,7 +360,7 @@ applyView' mkviewedfile getfilemetadata view = do
topf <- inRepo (toTopFilePath f)
go uh topf sha (toTreeItemType mode) =<< lookupKey f
liftIO $ void clean
genViewBranch view
genViewBranch view
where
genviewedfiles = viewedFiles view mkviewedfile -- enables memoization

View file

@ -27,6 +27,7 @@ git-annex (8.20201008) UNRELEASED; urgency=medium
backends. Make sure to relay any remaining stderr from the process,
and potentially avoid the process getting a SIGPIPE if it writes to
stderr too late.
* view: Fix a reversion in 8.20200522 that broke entering or changing views.
-- Joey Hess <id@joeyh.name> Thu, 08 Oct 2020 10:48:17 -0400

View file

@ -65,3 +65,7 @@ git-annex: view: 1 failed
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
git-annex is an awesome tool! Really appreciate your work and everything else works great!
> Thank you for reporting, I've fixed this reversion and am also going to
> add something like that to the test suite, which lacked any testing of
> views. [[done]] --[[Joey]]