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

Re: git vs git

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Jan 30, 2006, 20:16 UTC
Message-ID
<46a038f90601301216n793f0eb5k34a2b5a7c4e7491e@mail.gmail.com>
In-Reply-To
<d93f04c70601300714i4b7b3b58qa5aa151e3e42a413@mail.gmail.com>
On 1/31/06, Hendrik Visage <hvjunk@gmail.com> wrote:
> git isn't
> working because the wrong git is in the right place :(

Well, I just hit this yesterday on a colleage's machine who was trying to get going with git.His first try was to `apt-get install git` and as that didn't lead anywhere he fetched the git (scm) sources and built them.

Apparently GNU GIT's git binary was earlier in the path than GIT SCM's and so stuff broke very creatively. As soon as I did `git --version` I understood what was happening and a swift `apt-get remove git` fixed it. But it can sure mess the day for any user trying to install git naively.

Not sure how to deal with this. Packages already record (or can record) it as a conflict, but source built stuff is different. Perhaps during `make install` we should try and exec git --version towards the end and print a big fat warning?

cheers,
m
Previous: Junio C HamanoNext: Hendrik Visage
Message 10 of 11 in “git vs git”
  1. Hendrik VisageJan 30, 2006
  2. David LangJan 30, 2006
  3. Josh BoyerJan 30, 2006
  4. Erik MouwJan 30, 2006
  5. Hendrik VisageJan 30, 2006
  6. Johannes SchindelinJan 30, 2006
  7. Randal L. SchwartzJan 30, 2006
  8. Erik MouwJan 30, 2006
  9. Junio C HamanoJan 30, 2006
  10. Martin LanghoffJan 30, 2006
  11. Hendrik VisageJan 31, 2006

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.