Don't include tmp directory in files stored in the github branch.
Joey Hess
10 years ago
0 | 0 |
github-backup (1.20131007) UNRELEASED; urgency=low
|
1 | 1 |
|
2 | 2 |
* Build-Depend on git. Closes: #728481
|
|
3 |
* Don't include tmp directory in files stored in the github branch.
|
3 | 4 |
|
4 | 5 |
-- Joey Hess <joeyh@debian.org> Fri, 01 Nov 2013 15:51:34 -0400
|
5 | 6 |
|
304 | 304 |
genstream r dir h streamer = do
|
305 | 305 |
fs <- filter (not . dirCruft) <$> dirContentsRecursive dir
|
306 | 306 |
forM_ fs $ \f -> do
|
|
307 |
let basefile = joinPath $ drop 1 $ splitPath f
|
307 | 308 |
sha <- hashFile h f
|
308 | |
path <- toTopFilePath f r
|
|
309 |
path <- toTopFilePath basefile r
|
309 | 310 |
streamer $ Git.UpdateIndex.updateIndexLine
|
310 | 311 |
sha Git.Types.FileBlob path
|
311 | 312 |
|