Codebase list github-backup / e6d9b93
Don't include tmp directory in files stored in the github branch. Joey Hess 10 years ago
2 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 github-backup (1.20131007) UNRELEASED; urgency=low
11
22 * Build-Depend on git. Closes: #728481
3 * Don't include tmp directory in files stored in the github branch.
34
45 -- Joey Hess <joeyh@debian.org> Fri, 01 Nov 2013 15:51:34 -0400
56
304304 genstream r dir h streamer = do
305305 fs <- filter (not . dirCruft) <$> dirContentsRecursive dir
306306 forM_ fs $ \f -> do
307 let basefile = joinPath $ drop 1 $ splitPath f
307308 sha <- hashFile h f
308 path <- toTopFilePath f r
309 path <- toTopFilePath basefile r
309310 streamer $ Git.UpdateIndex.updateIndexLine
310311 sha Git.Types.FileBlob path
311312