(no commit message)
authorjstritch <jstritch@web>
Mon, 8 May 2023 13:52:43 +0000 (13:52 +0000)
committeradmin <admin@branchable.com>
Mon, 8 May 2023 13:52:43 +0000 (13:52 +0000)
doc/bugs/repair_on_Windows_reports_ambiguous_argument_error.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/repair_on_Windows_reports_ambiguous_argument_error.mdwn b/doc/bugs/repair_on_Windows_reports_ambiguous_argument_error.mdwn
new file mode 100644 (file)
index 0000000..b87cffb
--- /dev/null
@@ -0,0 +1,73 @@
+### Please describe the problem.
+
+On Windows only the git annex repair command reports an error.
+
+### What steps will reproduce the problem?
+
+Following are the minimum steps to reproduce the problem. The problem occurs with any number of files in the repository. The --force option does not correct the problem. The problem does not occur on Linux or macOS.
+
+[[!format sh """
+mkdir repair-ambiguous-argument-bug
+pushd repair-ambiguous-argument-bug
+git init
+git annex init
+git annex repair
+popd
+"""]]
+
+### What version of git-annex are you using? On what operating system?
+
+git-annex version: 10.20230330-g98a3ba0ea5
+
+git version 2.40.0.windows.1
+
+Microsoft Windows [Version 10.0.19045.2846]
+
+### Please provide any additional information below.
+
+[[!format sh """
+# If you can, paste a complete transcript of the problem occurring here.
+# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
+
+repair Running git fsck ...
+Fsck found no problems. Checking for broken branches.
+fatal: ambiguous argument 'refs\heads\master': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+fatal: ambiguous argument 'refs\heads\git-annex': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+fatal: ambiguous argument 'refs\heads\adjusted\master(unlocked)': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+fatal: ambiguous argument 'refs\basis\adjusted\master(unlocked)': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+Found problems, attempting repair.
+fatal: ambiguous argument 'refs\heads\master': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+fatal: ambiguous argument 'refs\heads\git-annex': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+fatal: ambiguous argument 'refs\heads\adjusted\master(unlocked)': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+fatal: ambiguous argument 'refs\basis\adjusted\master(unlocked)': unknown revision or path not in the working tree.
+Use '--' to separate paths from revisions, like this:
+'git <command> [<revision>...] -- [<file>...]'
+Some git branches refer to missing objects:
+        refs\heads\master
+        refs\heads\git-annex
+        refs\heads\adjusted\master(unlocked)
+        refs\basis\adjusted\master(unlocked)
+To force a recovery to a usable state, retry with the --force parameter.
+failed
+repair: 1 failed
+
+# End of transcript or log.
+"""]]
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+
+Yes. I am developing the easy-git-annex API for git-annex.