Add helpers to install MinGW packages
commit84dffc81edcae45991d429d979cd7ef4bae94e69
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 19 Feb 2009 16:09:09 +0000 (19 17:09 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 26 Feb 2009 10:57:06 +0000 (26 11:57 +0100)
treedea3d2b52d9a1d392dc63660afb42d39cf576192
parent96fd235d81e6ecb73a96deab5efc234bda5ca55f
Add helpers to install MinGW packages

The pre-install.sh and post-install.sh helper are meant to help the stuff
in /src/, of course.

Call pre-install.sh before installing stuff.  This script will output the
name of a temporary Git index which contains the current state.

Now install whatever you want.

Afterwards, call post-install.sh with the name of the temporary Git index
and a commit message as arguments; this will commit the changes.

The advantage to the earlier installation method of packages in /src/ is
that you can do that with a non-pristine state (in other words, you can
have untracked files lying around; they may be overwritten, though).

Note: the use of the plumbing 'diff-files' in post-install.sh is
crucial; we do _not_ want the index to be auto-refreshed; instead,
we want to catch all files that have been touched in the meantime.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
share/msysGit/install-mingw-tar.sh [new file with mode: 0644]
share/msysGit/post-install.sh [new file with mode: 0644]
share/msysGit/pre-install.sh [new file with mode: 0644]