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

Re: Git on MSys (or how to make it easy for Windows users to compile git)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 3, 2007, 13:37 UTC
Message-ID
<Pine.LNX.4.64.0708031434360.14781@racer.site>
In-Reply-To
<46B32981.9040904@trolltech.com>
Hi,
On Fri, 3 Aug 2007, Marius Storm-Olsen wrote:
Show 31 quoted lines
> > > Completely forgot: we might want to do something like this at the end of
> > > /etc/profile:
> > > 
> > > 	test ! -d /git || {
> > > 		mv /git $HOME/ &&
> > > 		cd $HOME/git &&
> > > 		make install &&
> > > 		git config remote.origin.url \
> > > 			git://repo.or.cz/git/mingw.git
> > > 		git config remote.origin.fetch \
> > > 			'+refs/heads/*:refs/remotes/origin/*'
> > > 		git config remote.mob.url \
> > > 			repo.or.cz:/srv/git/git/mingw.git
> > > 		git config remote.mob.fetch \
> > > 			+refs/remote/mob:refs/remotes/origin/mob
> > > 		git config remote.mob.push \
> > > 			master:mob
> > > 		git fetch
> > > 		git reset 51785010a4d3e7f6c3
> > > 	}
> > > 
> > > Please test that, and include it if it works.
> 
> Hmmm, I have trouble 'parsing' this.
> You meant
>     test ! -d $HOME/git ||
> right?
> 
> But, given that he removed the initial git sources, the script won't work. He
> left the git executables to be able to check a new Git out, if I understand
> correctly.

I ended up doing it differently. I test for $HOME/bin/git.exe, and if it does not exist, the whole compiling && installing && fetching is done.

Actually, I found out by debugging why it did not work as intended that commit 5178501 was a commit _I_ made, from experimental patches Hannes sent to the list.

I updated it to origin/devel + patches.

Hopefully these patches will be cleaned up, and submitted to Hannes (hint, hint).

Ciao, Dscho

Previous: Marius Storm-OlsenNext: Johannes Schindelin
Message 10 of 53 in “Git on MSys (or how to make it easy for Windows users to compile git)”
  1. Johannes SchindelinAug 2, 2007
  2. Dmitry KakurinAug 3, 2007
  3. Marius Storm-OlsenAug 3, 2007
  4. Dmitry KakurinAug 3, 2007
  5. Johannes SchindelinAug 3, 2007
  6. Dmitry KakurinAug 3, 2007
  7. Johannes SchindelinAug 3, 2007
  8. Johannes SchindelinAug 3, 2007
  9. Marius Storm-OlsenAug 3, 2007
  10. Johannes SchindelinAug 3, 2007
  11. Johannes SchindelinAug 3, 2007
  12. Marius Storm-OlsenAug 3, 2007
  13. Johannes SchindelinAug 3, 2007
  14. Marius Storm-OlsenAug 3, 2007
  15. Johannes SchindelinAug 3, 2007
  16. Marius Storm-OlsenAug 3, 2007
  17. Johannes SchindelinAug 3, 2007
  18. Marius Storm-OlsenAug 3, 2007
  19. Mike PapeAug 3, 2007
  20. Marius Storm-OlsenAug 3, 2007
  21. Johannes SchindelinAug 3, 2007
  22. Marius Storm-OlsenAug 3, 2007
  23. Mike PapeAug 3, 2007
  24. Marius Storm-OlsenAug 3, 2007
  25. Johannes SchindelinAug 3, 2007
  26. Johannes SchindelinAug 3, 2007
  27. Johannes SchindelinAug 3, 2007
  28. Dmitry KakurinAug 3, 2007
  29. Johannes SchindelinAug 3, 2007
  30. Torgil SvenssonAug 4, 2007
  31. Johannes SchindelinAug 4, 2007
  32. Torgil SvenssonAug 5, 2007
  33. Johannes SchindelinAug 6, 2007
  34. Marius Storm-OlsenAug 6, 2007
  35. Johannes SchindelinAug 6, 2007
  36. Marius Storm-OlsenAug 6, 2007
  37. Alex RiesenAug 9, 2007
  38. Johannes SchindelinAug 9, 2007
  39. Alex RiesenAug 9, 2007
  40. Torgil SvenssonAug 6, 2007
  41. Johannes SchindelinAug 6, 2007
  42. Marius Storm-OlsenAug 3, 2007
  43. Marius Storm-OlsenAug 3, 2007
  44. Nguyen Thai Ngoc DuyAug 3, 2007
  45. Marius Storm-OlsenAug 3, 2007
  46. Nguyen Thai Ngoc DuyAug 3, 2007
  47. Marius Storm-OlsenAug 3, 2007
  48. Nguyen Thai Ngoc DuyAug 3, 2007
  49. Marius Storm-OlsenAug 3, 2007
  50. Johannes SchindelinAug 3, 2007
  51. Nguyen Thai Ngoc DuyAug 3, 2007
  52. Johannes SchindelinAug 3, 2007
  53. Matthieu MoyAug 3, 2007

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.