/etc/profile: replace mingw.git by mingw/4msysgit.git

Totally untested, but should be safe.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Do not try to clone anything in /etc/profile

Now that we decided that GitMe, AKA Net installer (a minimal system which has
just enough to clone msysgit.git and mingw/4msysgit.git, and will then build git)
and a snapshot installer, which comes with all sources, but does not set up the
repositories, /etc/profile is not the right place to do the cloning anymore.

Sidenote: We plan to have three installers:

	1) GitMe, AKA Net installer (minimal system to clone all)
	2) msysGit, AKA full installer (full system, does not clone)
	3) msysGitSnapshot (contains the build env, the sources, but no .git/)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Initial version of a script generating the WinGit installer

This is my idea how things will look like:

- unpack everything into a temporary directory
- start the Tcl/Tk installer
- copy the files

A lot of work is still to do:

- make more precise file lists (otherwise this installer will be huge)
- install a Start Menu
- install a Desktop shortcut
- install Quick Launch icon
- write a Tcl/Tk program to choose the repository to open in git-gui, or
  even better: teach git-gui to not barf when there is not repository, and
  add a menu entry in the "Repository" menu to open a new one.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Work in progress: a script that generates GitMe-$VERSION.exe

Much like the installer I did for WinGit-$VERSION.exe, this script
makes a GitMe-$VERSION.exe.

The result will be slightly different from GitMe-3.exe: There is no
longer a reason to call sh.exe differently, and config.mak does not
have to be in a subdirectory.

Also, curl-config is only needed when compiling things (it shows you
the necessary CFLAGS and friends).

Furthermore, the generating script will be checked into msysgit.git,
so there is no need to include it into the installer.

This version is based on the second version of GitMe-3.exe...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Start a nice little TODO file

These are the issues I'd like to see go away.  Feel free to squash any of
them, or to add new ones.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
GitMe installer does not need libexpat-1.dll

This library is only needed when pushing via http, not for pulling.
So get rid of this, GitMe will pull the complete msysgit.git anyway.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add TODO: feed back the patches to Junio

This task will be the most tedious, but it is one of the ultimate goals.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
LESS=-FSRX is needed in /etc/profile for the moment

For some strange reason, the code in pager.c is not sufficient.  But now
you can set diff.core = auto...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use start to prevent "Terminate batch jobs" message on exit.

Without start sh, if you ever break out of something, when you exit, you're
asked if you want to terminate batch jobs.  This gets rid of that message.
This file was also converted to unix line endings.

Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
Use 'call' instead of 'start' to start SH, as 'start' opens a new terminal.

Couldn't use start /B either, since that resulted in some bad behaviour.

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Windows Batch files should have DOS end-of-line markers.
Also added the file with -crlf in a .gitattributes file so
It's not converted back for people with autocrlf=true.

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Keep .gitattributes in Unix style EOL

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Update with latest installer changes.

This is based on the latest version of GitMe-3.exe
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Convert the netinstallers setup-msysgit.sh script to Unix EOLs.
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Add Git icons to GitMe installer.

Base art courtesy of Henrik [at] nyh [dot] se, created into
16x16, 32x32 and 48x48 icon by me. The installer module
already contains the new icon, so whenever we regenerate the
installer, it will have that icon.
Also add the raw icon into /share/resources/git.ico for future
use.

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Clean up temporary pack file after package generation.

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Update TODO

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
Replace #!C/<foo>/bin/sh lines in the scripts to proper #!/bin/sh before packaging

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
GitMe: Remove installer-tmp dir on first startup
Make msys.bat try harder to find the shells / rxvt
Also, switch out SH with bash. We know we have it.

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>