git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: GSoC 2016: Microproject

From
Karthik Nayak <karthik.188@gmail.com>
Date
Feb 22, 2016, 08:10 UTC
Message-ID
<CAOLa=ZQqyfGDOVr=nxKbuZXJw2rsCu0KbomG+tuRkeS+R9xzFw@mail.gmail.com>
In-Reply-To
<vpq1t85rj44.fsf@anie.imag.fr>

On Mon, Feb 22, 2016 at 12:22 AM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

Show 18 quoted lines
> 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.
>

I think a 'sudo git clean' outta be enough. But the main point to take away is not using 'make' with 'sudo' like you mentioned.

-- 
Regards,
Karthik Nayak
Previous: Matthieu MoyNext: Mehul Jain
Message 10 of 18 in “GSoC 2016: Microproject”
  1. Mehul JainFeb 19, 2016
  2. Matthieu MoyFeb 19, 2016
  3. Mehul JainFeb 19, 2016
  4. Stefan BellerFeb 19, 2016
  5. Mehul JainFeb 19, 2016
  6. Mehul JainFeb 20, 2016
  7. Matthieu MoyFeb 21, 2016
  8. Mehul JainFeb 21, 2016
  9. Matthieu MoyFeb 21, 2016
  10. Karthik NayakFeb 22, 2016
  11. Mehul JainFeb 22, 2016
  12. Duy NguyenFeb 22, 2016
  13. Mehul JainFeb 22, 2016
  14. Duy NguyenFeb 22, 2016
  15. Mehul JainFeb 22, 2016
  16. Lars SchneiderFeb 22, 2016
  17. Lars SchneiderFeb 22, 2016
  18. Mehul JainFeb 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.