The version of msysGit that ships with GitHub for Windows
Перейти к файлу
Pat Thoyts d49d3de232 Install OpenSSL 0.9.8x import libs
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2012-06-06 21:11:55 +01:00
bin what-made-this-repo-so-large: hide stderr 2012-05-04 01:50:03 -05:00
cmd Default the TERM environment variable suitable for use with less. 2012-04-11 19:34:57 +01:00
doc Update the submodules in preparation for 1.7.10 2012-04-09 21:22:21 -05:00
etc Fix inputrc for rxvt usage. 2012-04-16 22:41:22 +01:00
git@aa4aafb7da Update the submodules in preparation for 1.7.10 2012-04-09 21:22:21 -05:00
include MSYS: Add flex-2.5.35-1-msys-1.0.11-bin.tar.lzma 2010-03-25 13:03:26 +01:00
lib Added CGI.pm (3.15) to the default perl install 2012-05-29 17:02:19 -05:00
libexec Switch to new 'libexec/git-core' directory layout 2008-07-26 12:02:24 +02:00
mingw Install OpenSSL 0.9.8x import libs 2012-06-06 21:11:55 +01:00
share Merge branch 'fix-nosfx' of git://github.com/aroben/msysgit into devel 2012-06-05 13:01:40 -05:00
src openssl: update release script to use version 0.9.8x 2012-06-06 21:11:47 +01:00
ssl Added MSys' openssl. 2008-02-20 13:42:58 +00:00
.gitattributes .gitattributes: make sure /etc/termcap has unix line-endings 2009-03-22 14:40:59 +01:00
.gitignore Ignore some more Perl modules 2012-01-06 22:08:14 +01:00
.gitmodules Point all submodules to github.com now git-cheetah is there as well. 2012-02-01 08:12:05 +00:00
README.md Spelling correction. 2012-04-13 16:54:43 -05:00
THIS_IS_MSYSGIT Add file THIS_IS_MSYSGIT to indicate an msysgit environment 2009-05-24 08:13:21 +02:00
TODO Updated TODO 2008-02-20 13:43:29 +00:00
git-cmd.bat Avoid quoting environment variable values. 2010-09-13 10:37:59 +01:00
msys.bat Make msys.bat work with WINE 2010-01-05 17:36:41 +01:00
wine-start.sh wine-start: avoid going through msys.bat 2011-09-09 15:56:54 -05:00

README.md

Build environment for Git for Windows

This is the build environment -- also known as msysGit -- for Git for Windows.

The easiest way is to install it via the net installer. This installer will clone our two repositories, including all the necessary components to build Git for Windows, and perform an initial build.

The build environment

msysGit brings a few components that are required to build Git:

  • Bash, a Unix-type command-line shell. Quite a few components of Git itself are still shell scripts. Therefore, Bash is required to execute Git commands (see the output of cd /git && git ls-files \*.sh for a full list).
  • the GNU C Compiler. Since we try to rely only on free software (apart from the Operating System, of course), we think it makes more sense to rely on GCC than on Visual Studio express. Also, it makes the maintenance burden lighter, as upstream Git also targets mainly GCC.
  • GNU Make.
  • Perl. Still required for a couple of Git components (see the output of cd /git && git ls-files \*.perl), most notably git svn.
  • Tcl/Tk, a scripting language making it easy to implement cross-platform graphical user interfaces. We need this for gitk and git gui.
  • cURL, a library implementing HTTP and FTP transport.
  • many more libraries.
  • some Unix programs required by the shell scripts in Git.

The relationship between msysGit and Git for Windows

Git for Windows is the software package that installs a minimal environment to run Git on Windows. It comes with a Bash (a Unix-type shell), with a Perl interpreter and with the Git executable and its dependencies.

On the other hand, msysGit is the software package installing the build environment that can build Git for Windows. The easiest way is to install it via the net installer.

The difference between MSys and MinGW

The MinGW project's goal is to provide a way to compile native Windows binaries with no POSIX layer using the GNU C Compiler.

However, at least the Bash needs a POSIX layer (most notably due to the absence of the fork() call on Windows). Therefore, MSys (the minimal system) is thrown in, offering the minimal system necessary to offer Bash (and Perl) functionality on Windows.

Consequently, MSys ships with a POSIX layer (based on an old version of Cygwin) that is only used by the Bash and Perl, but not by anything compiled within that environment.

Further information

For more information and documentation, please have a look and enhance our Wiki.

For code contributions and discussions, please see our mailing list.