|
From: Johannes R. <ja...@gm...> - 2009-06-04 14:23:05
|
Hi, I am using git to synchronise data with another computer via sshfs. This worked well for quite some time, but since yesterday it does not work any more. Usually I do the following: 1. Commit changes to git repository git commit -a -m "..." 2. Mount my remote home directory via sshfs sshfs jrauh@dirac: ~jarauh/dirac 3. Update the remote git repository cd ~/dirac/LaTeX git pull Now I get the following error messages: error: Couldn't set refs/remotes/origin/master >From /home/jarauh/LaTeX ! f33da15..b8811bc master -> origin/master (unable to update local ref) error: some local refs could not be updated; try running 'git remote prune origin' to remove any old, conflicting branches Now I am no expert of git, but I am pretty sure that it is a problem of sshfs for the following reason: When I try to clone my repository to some other directory, I get the following error messages, when I am in a directory mounted via sshfs: error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config Initialized empty Git repository in /home/jarauh/dirac/test/LaTeX/.git/ error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config error: Unable to create /home/jarauh/dirac/test/LaTeX/.git/HEAD error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config error: could not commit config file /home/jarauh/dirac/test/LaTeX/.git/config Checking out files: 100% (1029/1029), done. However, when I checkout the same repository from another directory, everything works fine. The only similar problem I found on the web was a case with encfs: http://code.google.com/p/encfs/issues/detail?id=11 I am not sure if it is related. My kernel is linux-2.6.28-gentoo-r5 I tried to recompile the fuse module, but that did not help either. Thanks a lot! Johannes |