Package: git-annex
Version: 3.20121211
Severity: minor

Hello,

I was setting up git annex on my USB drive which happened to have a space in
the volume label and therefore was mounted at /media/Ian Campbell. When I ran
"git annex vicfg" I ended up editing two files "/media/Ian" and "Campbell".

I've since relabelled the device but here is a contrived example:

$ mkdir Foo\ Bar
$ cd Foo\ Bar/
$ git init
Initialized empty Git repository in /local/scratch/ijc/tmp/Foo Bar/.git/
$ git annex init
init  ok
(Recording state in git...)
$ git annex vicfg

vi's status bar shows that I am editing:
"/local/scratch/ijc/tmp/Foo" [New File]
"Bar/.git/annex/config.tmp" [New DIRECTORY]

and ps shows (although I'm not convinced ps would show the quotes anyhow):
$ ps aux | grep Foo
ijc      27582  0.0  0.0  14132  1280 pts/20   S+   21:36   0:00 git 
--git-dir=/local/scratch/ijc/tmp/Foo Bar/.git 
--work-tree=/local/scratch/ijc/tmp/Foo Bar cat-file --batch
ijc      27583  0.6  0.0  32552  3312 pts/20   S+   21:36   0:00 vim 
/local/scratch/ijc/tmp/Foo Bar/.git/annex/config.tmp

I'm running Wheezy but have git-annex from sid installed.

Thanks,
Ian.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-annex depends on:
ii  curl            7.26.0-1
ii  git             1:1.7.10.4-1+wheezy1
ii  libc6           2.13-37
ii  libffi5         3.0.10-3
ii  libgmp10        2:5.0.5+dfsg-2
ii  libgnutls26     2.12.20-2
ii  libgsasl7       1.8.0-2
ii  libidn11        1.25-2
ii  libpcre3        1:8.30-5
ii  libxml2         2.8.0+dfsg1-7
ii  libyaml-0-2     0.1.4-2
ii  openssh-client  1:6.0p1-3
ii  rsync           3.0.9-4
ii  uuid            1.6.2-1.3
ii  wget            1.13.4-3
ii  zlib1g          1:1.2.7.dfsg-13

Versions of packages git-annex recommends:
ii  bind9-host  1:9.8.1.dfsg.P1-4.4
ii  gnupg       1.4.12-6
ii  lsof        4.86+dfsg-1

Versions of packages git-annex suggests:
pn  bup          <none>
pn  graphviz     <none>
ii  libnss-mdns  0.10-3.2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to