This commit is contained in:
parent
63313e0b40
commit
be3cf1115e
1 changed files with 21 additions and 0 deletions
21
doc/bugs/lookupkey_does_not_work_from_subdirectory.mdwn
Normal file
21
doc/bugs/lookupkey_does_not_work_from_subdirectory.mdwn
Normal file
|
@ -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]]
|
Loading…
Add table
Reference in a new issue