annex.tune.branchhash1=true bugfix
Fix support for repositories tuned with annex.tune.branchhash1=true, including --all not working and git-annex log not displaying anything for annexed files.
This commit is contained in:
parent
c265cf27a0
commit
879f52a116
9 changed files with 61 additions and 23 deletions
|
@ -130,8 +130,10 @@ loggedKeys :: Annex [Unchecked Key]
|
|||
loggedKeys = loggedKeys' (not <$$> checkDead)
|
||||
|
||||
loggedKeys' :: (Key -> Annex Bool) -> Annex [Unchecked Key]
|
||||
loggedKeys' check = mapMaybe (defercheck <$$> locationLogFileKey)
|
||||
<$> Annex.Branch.files
|
||||
loggedKeys' check = do
|
||||
config <- Annex.getGitConfig
|
||||
mapMaybe (defercheck <$$> locationLogFileKey config)
|
||||
<$> Annex.Branch.files
|
||||
where
|
||||
defercheck k = Unchecked $ ifM (check k)
|
||||
( return (Just k)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue