Joey Hess
facc50d965
forgot to use sfile
2016-02-26 16:12:40 -04:00
Joey Hess
e3a73e5bb7
try again at forcing file read while hashing
2016-02-26 14:04:10 -04:00
Joey Hess
41fd029c9b
update
2016-02-26 13:54:58 -04:00
Joey Hess
66f2b3d4e0
bug
2016-02-26 13:49:26 -04:00
Joey Hess
fe44eb95e2
close
2016-02-26 13:36:17 -04:00
Joey Hess
d1f87e8c8e
test revert "force hash to finish with file before returning"
...
This reverts commit 7482853ddd
.
This seems to have caused a memory leak.
2016-02-26 13:30:38 -04:00
Joey Hess
3a6039c287
typo
2016-02-26 12:21:20 -04:00
Joey Hess
471a211d21
Include magic database in the linux and OSX standalone builds.
2016-02-26 11:54:15 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
5d0b5eeefb
2016-02-26 04:04:40 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
5e5f8f1a74
2016-02-26 03:59:37 +00:00
divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899
e815b5c23c
Added a comment
2016-02-26 03:56:42 +00:00
Joey Hess
448c1cc057
Merge branch 'master' of ssh://git-annex.branchable.com
2016-02-25 17:13:16 -04:00
Joey Hess
44f1672e37
devblog
2016-02-25 17:12:41 -04:00
Joey Hess
0a1b02ce04
adjusted branches, proof of concept
...
"git annex adjust" may be a temporary interface, but works for a proof of
concept.
It is pretty fast at creating the adjusted branch. The main overhead is
injecting pointer files. It might be worth optimising that by reusing the
symlink target as the pointer file content. When I tried to do that,
the problem was that the clean filter doesn't use that same format, and so
git thought files had changed. Could be dealt with, perhaps make the clean
filter use symlink format for pointer files when on an adjusted branch?
But the real overhead is in checking out the branch, when git runs the
smudge filter once per file. That is perhaps too slow to be usable,
although it may only affect initial checkout of the branch, and not
updates. TBD.
2016-02-25 16:23:24 -04:00
Joey Hess
4712882776
add hashPointerFile'
2016-02-25 16:10:54 -04:00
Joey Hess
04d4830ac3
add catCommit
2016-02-25 15:34:46 -04:00
Joey Hess
3b74dc8be8
add fromBlobType
2016-02-25 15:34:22 -04:00
Joey Hess
7b2496508f
factor out commitTree
2016-02-25 15:33:50 -04:00
Joey Hess
1f91d1d0b7
add catCommit, with commit object parser
2016-02-25 15:14:47 -04:00
Joey Hess
be2e9427ad
refactor
2016-02-25 13:46:31 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
229db26e83
Added a comment: would it be possible to get a branch only with annexed content?
2016-02-25 03:04:26 +00:00
tom_clune
288326f121
Added a comment: dropping files after changing branches/tags
2016-02-24 22:19:00 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
969755804a
2016-02-24 21:42:28 +00:00
tom_clune
c6d0e3e62e
Added a comment: git annex using the "wrong" ssh socket
2016-02-24 19:23:13 +00:00
matyasbot@fd008517d046c382e18306c0b3db48eb58d45dee
a11aaf4f99
2016-02-24 19:14:42 +00:00
https://me.yahoo.com/a/ZF7p46cPmpWtb9zvA8iTitPmiQ--#eb014
8c97f9e40f
2016-02-24 03:55:44 +00:00
Joey Hess
804aeca5d2
parse strictly
...
This reduces memory use, because it avoids thunks that buffer parts of the
ls-tree output that are not needed.
2016-02-23 23:08:41 -04:00
Joey Hess
e5dd91b189
better encapsulation
2016-02-23 22:22:22 -04:00
Joey Hess
4ea36b8c63
few strictness improvemnets
2016-02-23 22:03:47 -04:00
Joey Hess
85b05a29df
refactor
2016-02-23 21:56:08 -04:00
Joey Hess
e08bebf0eb
add adjustTree (low-level) interface that avoids buffering much in memory
...
Using getTree and recordTree in my big repo takes 594 mb ram.
Using adjustTree takes 73 mb.
2016-02-23 21:35:16 -04:00
Joey Hess
9519af25f3
remove support for network older than 2.4
...
debian stable has 2.4
2016-02-23 20:35:32 -04:00
Joey Hess
123f823ef7
no streaming
...
extractTree has to parse the whole input list in order to generate a tree,
so convert interface to non-streaming.
Some quick memory benchmarks in a repo with 60k files
don't look too bad despite not streaming.
To stream, without building up a whole tree object, one way would
be a new interface:
adjustTree :: MonadIO m :: (TreeItem -> m (Maybe TreeItem)) -> Ref -> Repo -> m Sha
This would only need to buffer tree objects from the current one down
to the root, in order to update trees when a TreeItem is changed.
But, while it supports changing items in the tree, and removing items,
it does not support adding new items, or moving items from one directory to
another.
2016-02-23 20:25:31 -04:00
Joey Hess
e266a6ec78
use getSha
2016-02-23 18:30:11 -04:00
Joey Hess
fc072699b7
minor improvements
2016-02-23 17:21:42 -04:00
Joey Hess
2c29ca8c14
devblog
2016-02-23 16:57:01 -04:00
Joey Hess
53ad65612e
todo
2016-02-23 16:54:31 -04:00
Joey Hess
ae76cfde7d
add mktree interface
2016-02-23 16:36:38 -04:00
Joey Hess
a5bf674bec
Avoid crashing when built with MagicMime support, but when the magic database cannot be loaded.
2016-02-23 14:39:56 -04:00
Joey Hess
2bf90c7b56
updates
2016-02-23 13:21:38 -04:00
Joey Hess
ae0a10618b
fix build more
2016-02-23 12:48:18 -04:00
Joey Hess
d04af5fb68
fix build error
2016-02-23 12:30:11 -04:00
Joey Hess
66ce77f2d4
relocate page
2016-02-23 12:06:30 -04:00
Joey Hess
436251715c
comment
2016-02-23 11:39:58 -04:00
Joey Hess
63e6f08e0b
avoid trying to include gpg in bundle on Windows
2016-02-23 11:33:07 -04:00
Joey Hess
67dc0d238f
disable new build flags for android build
2016-02-23 10:59:59 -04:00
Joey Hess
5eab84dd3f
improve docs
2016-02-23 10:46:42 -04:00
Joey Hess
0218fe95ac
Merge branch 'master' of ssh://git-annex.branchable.com
2016-02-23 10:30:46 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
30372c291c
added [[!meta author=yoh]]
2016-02-23 14:27:24 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
56256c5274
2016-02-23 13:42:26 +00:00