summaryrefslogtreecommitdiff
path: root/doc/bugs/Exporting_subdirs_fails.mdwn
blob: 9d21e0a942f2b30644c5f29d157e5a5b29accac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
### Please describe the problem.
git annex won't export subdirectories claiming they don't exist. `git rev-parse` however, returns hashes 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

> [[fixed|done]] --[[Joey]]