]> dgit.raspbian.org Git - git-annex.git/commitdiff
(no commit message)
authoramerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 <amerlyqannex@web>
Sat, 1 Jan 2022 20:39:32 +0000 (20:39 +0000)
committeradmin <admin@branchable.com>
Sat, 1 Jan 2022 20:39:32 +0000 (20:39 +0000)
doc/bugs/adb_creates_empty_commits_on_import__47__sync.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/adb_creates_empty_commits_on_import__47__sync.mdwn b/doc/bugs/adb_creates_empty_commits_on_import__47__sync.mdwn
new file mode 100644 (file)
index 0000000..de0d912
--- /dev/null
@@ -0,0 +1,39 @@
+### Please describe the problem.
+
+Adb special remote on both "import" and "sync" commands creates empty commits in "main" branch,
+even if files hadn't changed  in either remote or local repo.
+
+This clutters history of "main" branch (which is mostly manually curated),
+and hides commits actually introducing added/deleted files amongst the clutter.
+
+Moreover, this behavior differs from expectations: "sync" with proper remote never created empty commits in "main" branch.
+
+## What steps will reproduce the problem?
+
+Setup adb import/export, like here: 
+[[https://git-annex.branchable.com/forum/Mixed_content_repos_with_import_and_export/#comment-764ac971faf756140055333649ffb94c]].
+
+Repetition of "git annex sync --content" introduces new empty commits without proper reason.
+
+### What version of git-annex are you using? On what operating system?
+git-annex version: 8.20211118-g23ee48898
+
+
+### Please provide any additional information below.
+
+Example of "main" branch history cluttered by empty commits:
+
+[[!format txt """
+*   2022-01-01 bb23200 remote tracking branch                                       (android/main) [annex]
+|\
+* | 2022-01-01 42b8111 remote tracking branch                                       (HEAD -> main, synced/main) [annex]
+|\|
+| * 2022-01-01 223f5f7 import from android                                          [annex]
+* | 2022-01-01 f5b5f0a remote tracking branch                                       [annex]
+|\|
+* | 2022-01-01 2a6177e remote tracking branch                                       [annex]
+|\|
+| * 2022-01-01 7ef4649 import from android                                          [annex]
+"""]]
+
+