unused, dropunused: Now work in bare repositories.
Turned out I had already done all the work needed to support this when unused started checking all branches.
This commit is contained in:
parent
c102e63595
commit
22e9f445ab
5 changed files with 13 additions and 14 deletions
|
@ -35,7 +35,7 @@ withUnusedMaps params = do
|
|||
return $ map (start (unused, unusedbad, unusedtmp)) params
|
||||
|
||||
start :: (UnusedMap, UnusedMap, UnusedMap) -> FilePath -> CommandStart
|
||||
start (unused, unusedbad, unusedtmp) s = notBareRepo $ search
|
||||
start (unused, unusedbad, unusedtmp) s = search
|
||||
[ (unused, perform)
|
||||
, (unusedbad, performOther gitAnnexBadLocation)
|
||||
, (unusedtmp, performOther gitAnnexTmpLocation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue