comments
authorJoey Hess <joeyh@joeyh.name>
Thu, 29 Jun 2023 17:57:27 +0000 (13:57 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 29 Jun 2023 17:57:27 +0000 (13:57 -0400)
doc/todo/new_command_for_syncing_content_only.mdwn
doc/todo/new_command_for_syncing_content_only/comment_3_19398beb81c56b3b7cc3aff7081a2886._comment [new file with mode: 0644]
doc/todo/new_command_for_syncing_content_only/comment_4_c72cbc566af9585b4701f833883f878e._comment [new file with mode: 0644]

index 2bf3aa9f37d464036a7048aaa1d0a79935db6d8b..4b78c5c18d44f7ede8a36185752ce28a6ad03fe9 100644 (file)
@@ -3,6 +3,11 @@ possible: `git-annex sync --no-commit --no-pull --no-push --content`.
 
 That is a mouthful, so maybe it could be a separate command? 
 
+> Actually, that used to sync content with older git-annex at least some
+> of the time, but [[!commit 2e984c51b65165e79c2fcd5212712ac4e73850de]]
+> changed/fixed --no-pull and --no-push to also prevent syncing content.
+> This new command would be the content-syncing part of sync only.
+
 Also, such a command could be perhaps be more like `git-annex get/drop/copy`
 in operating on the listed files or current directory and below by default.
 Although that might make it difficult for it to handle sending files to
diff --git a/doc/todo/new_command_for_syncing_content_only/comment_3_19398beb81c56b3b7cc3aff7081a2886._comment b/doc/todo/new_command_for_syncing_content_only/comment_3_19398beb81c56b3b7cc3aff7081a2886._comment
new file mode 100644 (file)
index 0000000..5d238a7
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2023-06-29T17:49:32Z"
+ content="""
+@nobodyinperson open another todo for the --recent or similar idea.
+Something like that would be just another matching option.
+(However, getting and parsing `git log --since` seems like it would be hard
+to do efficiently..)
+"""]]
diff --git a/doc/todo/new_command_for_syncing_content_only/comment_4_c72cbc566af9585b4701f833883f878e._comment b/doc/todo/new_command_for_syncing_content_only/comment_4_c72cbc566af9585b4701f833883f878e._comment
new file mode 100644 (file)
index 0000000..ed40e20
--- /dev/null
@@ -0,0 +1,14 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 4"""
+ date="2023-06-29T17:51:30Z"
+ content="""
+@nobodyinperson `git-annex transfer` is not bad. Although I was envisioning
+this also handling dropping content from repos that don't want it, same as
+sync does.
+
+Well, I suppose getting a file from a remote and dropping it from the
+remote can also be seen as a "transfer". Just because git-annex internally
+uses "transfer" specifically for copying an object around doesn't mean the
+command line interface has to.
+"""]]