(no commit message)
authorjwodder <jwodder@web>
Sun, 24 Oct 2021 19:21:54 +0000 (19:21 +0000)
committeradmin <admin@branchable.com>
Sun, 24 Oct 2021 19:21:54 +0000 (19:21 +0000)
doc/bugs/lookupkey_does_not_work_from_subdirectory.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/lookupkey_does_not_work_from_subdirectory.mdwn b/doc/bugs/lookupkey_does_not_work_from_subdirectory.mdwn
new file mode 100644 (file)
index 0000000..c60f4a0
--- /dev/null
@@ -0,0 +1,21 @@
+Running `git-annex lookupkey` while in a subdirectory of a git-annex repository does not work, regardless of whether the supplied path is relative to the current directory or the root of the repository.
+
+### What steps will reproduce the problem?
+
+[[!format sh """
+git init
+git-annex init
+git-annex addurl --file latex/lshort.pdf https://tobi.oetiker.ch/lshort/lshort.pdf
+cd latex
+git-annex lookupkey lshort.pdf  # Fails!
+git-annex lookupkey latex/lshort.pdf  # Fails!
+cd ..
+git-annex lookupkey latex/lshort.pdf  # Succeeds
+"""]]
+
+
+### What version of git-annex are you using? On what operating system?
+
+8.20211011 on macOS 11.6
+
+[[!meta author=jwodder]]