diff --git a/doc/bugs/Exporting_subdirs_fails.mdwn b/doc/bugs/Exporting_subdirs_fails.mdwn new file mode 100644 index 0000000000..dd16ede85e --- /dev/null +++ b/doc/bugs/Exporting_subdirs_fails.mdwn @@ -0,0 +1,22 @@ +### Please describe the problem. +git annex won't export subdirectories claiming they don't exist. `git rev-parse` however, returns a hash for said directories which then are accepted by `git annex export`. + + +### What steps will reproduce the problem? + +[[!format sh """ +$ git annex export master:folder --to exp +fatal: Path 'folder:' does not exist in 'master' +git-annex: unknown tree +$ git rev-parse master:folder +943218c141ab2a315b533fa9f92fe610916b5d1b +$ git annex export 943218c141ab2a315b533fa9f92fe610916b5d1b --to exp +export exp testfile2 +ok +(recording state in git...) +"""]] + + +### What version of git-annex are you using? On what operating system? +git-annex version: 6.20171026-g43d011a52 on Arch Linux +