Francois Marier wrote:
> I thought I might be able to replicate this manually by creating a new repo:
> 
>   mkdir /tmp/foo
>   cd /tmp/foo/
>   git init
>   echo ".git-annex/*.log merge=union" > .gitattributes
>   mkdir .git-annex
>   touch .git-annex/notempty
>   git add .
>   git commit -a -m initial
> 
> adding a file with a similar name:
> 
>   touch .git-annex/bar.log
> 
> and adding it from elsewhere:
> 
>   cd /home/francois/
>   git --git-dir=/tmp/foo/.git --work-tree=/tmp/foo add -- 
> /tmp/foo/.git-annex/bar.log
> 
> However that did work. I can't think of anything else might be different 
> between
> my simple repo and the git-annex one I've got in /pub/music/cds/.

How strange. Can you reproduce it with a clone of /pub/music/cds/ ? Is
there anything unusual in .git/config?

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.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to