comment
authorJoey Hess <joeyh@joeyh.name>
Tue, 6 Jun 2023 19:17:09 +0000 (15:17 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 6 Jun 2023 19:17:09 +0000 (15:17 -0400)
doc/bugs/importtree_spends_hours_reading_cidsdb/comment_17_8fe8c0747a69ea977942a399ac929e77._comment [new file with mode: 0644]

diff --git a/doc/bugs/importtree_spends_hours_reading_cidsdb/comment_17_8fe8c0747a69ea977942a399ac929e77._comment b/doc/bugs/importtree_spends_hours_reading_cidsdb/comment_17_8fe8c0747a69ea977942a399ac929e77._comment
new file mode 100644 (file)
index 0000000..47fdb40
--- /dev/null
@@ -0,0 +1,17 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 17"""
+ date="2023-06-06T19:07:25Z"
+ content="""
+Another expensive thing sync has to do, due to the adjusted branch
+being checked out, is Command.Sync.updateBranches. In my repo with 10000
+files, when not using --content, that is responsible for most of the run
+time of a sync when there is nothing new to import or pull.
+
+It should be possible for sync to avoid running that when it didn't pull
+any changes that need to be propagated back to the parent branch from the
+adjusted branch.
+
+With the master branch checked out instead, `git-annex sync --content` is
+now as fast as `git-annex find --not --in source`.
+"""]]