From 441a5dfc2fd112fd165b95fb1106f15a1255e72a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 31 Aug 2017 18:06:49 -0400 Subject: graft exported tree into git-annex branch So it will be available later and elsewhere, even after GC. I first though to use git update-index to do this, but feeding it a line with a tree object seems to always cause it to generate a git subtree merge. So, fell back to using the Git.Tree interface to maniupulate the trees, and not involving the git-annex branch index file at all. This commit was sponsored by Andreas Karlsson. --- Annex/Branch.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Annex') diff --git a/Annex/Branch.hs b/Annex/Branch.hs index 5482dc44b..5214df627 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -21,6 +21,7 @@ module Annex.Branch ( maybeChange, commit, forceCommit, + getBranch, files, withIndex, performTransitions, -- cgit v1.2.3