Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> wrote: > On 3/7/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > >Well, there is a real problem with "This operation must be run in a work > >tree". What operation is that? We tried to make it hard to overwrite > >things in $GIT_DIR by running Git operations meant for the working tree, > >and it seems like you are running one of them. > > From this command: > > git --git-dir=/home/pclouds/blog/data.git ls-files --others --modified > 2007-03-07T18_52_41.txt > > It was run in /home/pclouds/blog/data, which is the working directory > of data.git. Why not just symlink it? cd /home/pclouds/blog/data ln -s ../data.git .git But really, why is your Git repository for the working directory outside of the working directory? Why not just move data.git to data/.git ? -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html