summaryrefslogtreecommitdiff
path: root/Logs.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2021-04-13 15:00:23 -0400
committerJoey Hess <joeyh@joeyh.name>2021-04-13 15:00:23 -0400
commit8e7dc958d20861a91562918e24e071f70d34cf5b (patch)
treee47db1da33989d3f7c1a9bd1a28747044984b96f /Logs.hs
parent0bcf155e1125133b60aae9116f3da91b0e191acc (diff)
forget: Preserve currently exported trees
Avoiding problems with exporttree remotes in some unusual circumstances. This commit was sponsored by Brett Eisenberg on Patreon.
Diffstat (limited to 'Logs.hs')
-rw-r--r--Logs.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Logs.hs b/Logs.hs
index 50b955420f..b8b1565286 100644
--- a/Logs.hs
+++ b/Logs.hs
@@ -139,6 +139,11 @@ multicastLog = "multicast.log"
exportLog :: RawFilePath
exportLog = "export.log"
+{- This is not a log file, it's where exported treeishes get grafted into
+ - the git-annex branch. -}
+exportTreeGraftPoint :: RawFilePath
+exportTreeGraftPoint = "export.tree"
+
{- The pathname of the location log file for a given key. -}
locationLogFile :: GitConfig -> Key -> RawFilePath
locationLogFile config key =