summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-14 16:47:32 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-14 16:47:32 -0400
commit759530836012c365ff0675d1afcd481e0a0e4908 (patch)
treef26076496ff7f1d1e791683f61d2e36b0c19cc98
parent547d59d15b2dbdbbdfffc818239dc0b73832c115 (diff)
close
-rw-r--r--doc/todo/optimise_git-annex_merge.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/todo/optimise_git-annex_merge.mdwn b/doc/todo/optimise_git-annex_merge.mdwn
index 91d18ebd7..ff2da3209 100644
--- a/doc/todo/optimise_git-annex_merge.mdwn
+++ b/doc/todo/optimise_git-annex_merge.mdwn
@@ -8,6 +8,9 @@ Instead, I'd like a way to stream multiple objects into git using stdin.
Sometime, should look at either extending git-hash-object to support that,
or possibly look at using git-fast-import instead.
+> Well, I went with git hash-object --stdin-paths despite it needing to read from
+> temp files. --[[Joey]]
+
---
`git-annex merge` also runs `git show` once per file that needs to be
@@ -21,3 +24,5 @@ There is already a Git.CatFile library that can do this easily. --[[Joey]]
Merging used to use memory proportional to the size of the diff. It now
streams data, running in constant space. This probably sped it up a lot,
as there's much less allocation and GC action. --[[Joey]]
+
+[[done]]