summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_chokes_on_filenames_including_spaces.mdwn
blob: 1412d6b3650bf7a70afb7fee0fc78a1128351e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
### Please describe the problem.

git-annex throws an error message (see below) when trying to add a file whose name includes a space.


### What version of git-annex are you using? On what operating system?

git-annex version: 6.20161012
build flags: ConcurrentOutput Feeds Quvi
uname -srm: Linux 4.7.10-hardened x86_64


### Please provide any additional information below.

[[!format sh """
aranea@gentp ~/t/annex-test $ git init .
Initialized empty Git repository in /home/aranea/tmp/annex-test/.git/
aranea@gentp ~/t/annex-test master $ git annex init
init  ok
(recording state in git...)
aranea@gentp ~/t/annex-test master $ touch 'foo bar'
aranea@gentp ~/t/annex-test master $ git annex add
add foo bar git-annex: unknown response from git cat-file ("HEAD:./foo bar missing",Ref "HEAD:./foo bar")
CallStack (from HasCallStack):
  error, called at ./Git/CatFile.hs:102:28 in main:Git.CatFile
"""]]

> What an embarrasing reversion. [[fixed|done]] and I'll push a release for
> it right away. --[[Joey]]