Re: GSoC 2016: Microproject
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Feb 21, 2016, 18:52 UTC
- Message-ID
- <vpq1t85rj44.fsf@anie.imag.fr>
- In-Reply-To
- <CA+DCAeQWeUodaBtHOdzGB3RTZTQ672ZUSV-=eh-nA+8Bvn4gxw@mail.gmail.com>
Mehul Jain <mehul.jain2029@gmail.com> writes:
> Earlier when I was testing the master branch on my pc, I used "make" > in \t directory, which lead to failure of test #2, #3 in > t5539-fetch-http-shallow.sh . > Afterwards I switched to sudo mode and ran the make command again.
Never ever do that. Your git source tree should be within your $HOME directory, and you should never run any command as root that creates files within your $HOME dir. If you do that, you'll end up having files belonging to root within other directories, you won't have write permission on these files. Then, anything can go wrong because any attempt to write to these files will fail.
The simplest way to get back on track for you is probably to start over with a fresh clone, or (warning: destructive operations): use git clean to remove untracked files.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/