From 759530836012c365ff0675d1afcd481e0a0e4908 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Mar 2016 16:47:32 -0400 Subject: close --- doc/todo/optimise_git-annex_merge.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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]] -- cgit v1.2.3