Add git subtree subcommand to default distribution

The git subtree subcommand is now part of the official git repository.
This tweak ensures that msysgit provides support for the command out
of the box without end-user interaction.

Signed-off-by: ciaranj <ciaranj@gmail.com>
Update the release script to handle git subtree command from contrib.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Bash PS1: refactor code for better readability

Signed-off-by: Benoit Mortgat <mortgat@gmail.com>
Bash PS1: Split up PS1 into small components

Signed-off-by: Benoit Mortgat <mortgat@gmail.com>
Bash PS1: Correctly enclose nonprintable sections

`\[` and `\]` are used for enclosing nonprinting characters in bash PS1.
Enclosing printable characters inside those bracket pairs results in bad
behaviour when the PWD contains characters from an extended character
set (not strictly in ASCII).

Therefore, instead of enclosing big chunks of PS1 inside `\[`...`\]`
pairs, we only put them around the small, non-printable character parts.

Signed-off-by: Benoit Mortgat <mortgat@gmail.com>
Installer: Update Inno Setup to version 5.5.1 (Unicode)

For the revision history, see:
http://www.jrsoftware.org/files/is5-whatsnew.htm

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Slightly reduce the installer's file size

Sort files by extension before compressing them which in conjunction with
solid compression reduces the installer's file size by about 200 KiB. Also
sorting by file name does not result in any further improvement.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Installer: Fix UninstallDisplayIcon path

Signed-off-by: xhmikosr <xhmikosr@users.sourceforge.net>
Merge pull request #51 from XhmikosR/devel

Installer: Fix UninstallDisplayIcon path
Update 7-Zip to version 9.22 (beta)

Note that the version numbering is inconsistent between the history and
readme files. The files were taken as-is from

http://sourceforge.net/projects/sevenzip/files/7-Zip/9.22/
Use version 1.50 beta (build 2478) of the modified 7-Zip SFX module

This version is based on the 7-Zip version 9.22 source code and was taken
from

http://7zsfx.info/en/download.html
Remove 7-Zip's vanilla 7zS.sfx as it is unused

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Installer: Early check whether the installation directory is writable

This avoids the user from going through all the settings again in case
a directory was chosen that cannot be written to in setup's very last
copy step.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Source git-prompt.sh if present.

In git commit af31a456 the git prompt code was moved out into another
file to permit lazy loading of bash functions. To maintain our git
prompt we must source both files now.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Explain why we need the THIS_IS_MSYSGIT file

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Account for upstream separating the completion and prompt scripts

To make the split transparent to our users, source both files by default.

[PT] Rolled in the sed part of Stefan Naewe's patch.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Installer: Update Inno Setup to version 5.5.2 (Unicode)

For the revision history, see:
http://www.jrsoftware.org/files/is5-whatsnew.htm

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Installer: Use the new {userpf} in favor of {localappdata}

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Installer: Remove an unused variable

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Installer: Start included files with [Code] to get syntax highlighting

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>