On 2011-04-21 at 13:05:21, Joey Hess wrote:
> How strange. Can you reproduce it with a clone of /pub/music/cds/ ? Is
> there anything unusual in .git/config?

I cloned my /pub/music/cds/.git into /tmp/testrepo/ and then tried this:

  cd /home/francois
  touch /tmp/testrepo/.git-annex/foo.log
  git --git-dir=/tmp/testrepo/.git --work-tree=/tmp/testrepo add -- 
/tmp/testrepo/.git-annex/foo.log

and it worked fine :(

My /pub/music/cds/.git/config:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[annex]
        uuid = f6d0447c-5e9b-11e0-a875-8fb1af0cc731
        version = 1
[remote "isafjordur1"]
        url = git://isafjordur/pub/cds
        fetch = +refs/heads/*:refs/remotes/isafjordur1/*
[remote "isafjordur2"]
        url = git://isafjordur/pub/cds2
        fetch = +refs/heads/*:refs/remotes/isafjordur2/*

> While it seems I could avoid passing the full path to the file to add,
> I'm hesitant to do that until I understand why git is sometimes failing.

Sounds good. I'll update this bug if I can think of another way to make it
fail.

Cheers,
Francois



-- 
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