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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 3 Aug 2007, Marius Storm-Olsen wrote:

> 1) msys.bat still kills the previous window
>    msys.bat needs to change from
> :startsh
> start sh --login -i
> exit
> 
>    to just
> :startsh
> sh --login -i
> 
> (start <cmd> opens a new CMD window, and exit kills the current one)

Done.

> 2) If $HOME is set to the normal home directory of the user (which I
> have, but I doubt it's common)
>       C:\Documents and Settings\<username>
>    then you'll have problems with spaces in path, so the
>       make install
>    actually fails. So, next time you start msys.bat, it will try to do
> the installation step again. I don't think we have to care about that
> right now. The current setup work fine for now. I'll play around a bit
> with it, and we'll see.

I agree, it is much saner to install it to /bin.  That should make 
creating an installer for Git (the compiled one) easier, too.

> 3) When "Setting up git" the second time, it feels like the whole thing
> is hanging; have let it run for ~5min now without anything happening.
> Not sure what's going on here. It looks like git.exe was ran with any
> options, but that should not consume 100% CPU.. Hmm

Yep.  I did not test the initial phase, and there is a serious bug in 
setup_git_directory_gently() in origin/devel.  I fixed that.

> 4) When using the install, I get
> marius@STORM /git
> $ git init
> warning: templates not found C:/msysGit/share/git-core/templates/
> Initialized empty Git repository in .git/
> 
> Probably due to the "Setting up git" step not completing.

That is expected.  Hooks are activated by chmod'ing them to executable.  
AFAIK this concept is thoroughly broken by Windows.  So I do not even 
attempt to install the templates; otherwise all hooks would be blindly 
activated (and you do not want that, trust me).

New installer is available and tagged 0.2.

Ciao,
Dscho

P.S.: I also uploaded the script I created to make the installer.  It 
assumes that you installed 7zip to C:\Program Files\7-Zip but is trivial 
to adapt to your setup.

-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux