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>
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>
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>
`\[` 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>
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>
This allows us to accept CAcert issued certificates as valid for SSL
connections. CAcert is a chain-of-trust certificate authority using a
model like PGP for authenticating trust and is used by some open source
sites as the CA issues free certificates provided there is sufficient
confirmation of identity using the web of trust.
The CAcert license requires mentioning in the documentation and it is
polite to list other packages that Git for Windows depends upon.
This closes github issue #37.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
The new compiled git wrapper failed to propagate the error code from the
wrapped process which causes problems when scripting git commands.
Also print error messages if something fails when launching the target
process.
This resolves github issue #43.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Starting git-gui from the command line would result in an error because the
internal script variable was not initialized.
Signed-off-by: Theo Niessink <niessink@martinic.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Overwrite the stock git-gui icon file with our own resource to provide
some visual consistency in the shipped applications.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This addresses github issue #36 which points out problems in handling
git commit notations of the form tag^{commit} and HEAD^. The windows
command shell uses caret as a quote both on the command line and in
batch scripts and this results in requiring double quoting. To be
able to handle both "tag^{commit}" and tag^^{commit} (either style
of command prompt quoting) the script needs replacing. This also makes
it simpler to call git from batch scripts as it will no longer need to be
prefixed with 'call'.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
These logos are picked up by the installer. Delete the SVG of the old
logo, an EPS file of the new one can be downloaded from git-scm.com.
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
The user normally do not want to change these settings, also this speeds up the upgrade process.
This does not break parallel installs since AppId isn't set and includes no version number (in this case AppId defaults to AppName). Parallel installs were not fully supported before this patch (uninstaller in the Windows control panel always only points to the latest installation, ...).
Signed-off-by: Sven Strickroth <email@cs-ware.de>
As TortoiseGit also comes with the improved version of Plink, offer the user to use that version, too.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
I'd like to use Jenkins in the near future to perform rebasing merges
whenever Junio updates 'next'. In order to do that, I will need the
merging-rebase script to perform on another branch than 'devel'.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
These new files need to be included with Git.pm for git-svn support.
Fixes github issue #32
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This reverts commit f08322cab3
This check no longer works as since 60527eb binaries may be modified on
installation to speed up loading which changes the MD5 checksum on the
users system.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
The patch is can be replaced by providing a command line option.
Improved the handling of errors in the script.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
It is fascinating how inconsistent the documentation on this issue is.
Yury V. Zaytsev helped me identify another registry entry we have to set
in order to disable the interactive error reporting which makes so little
sense in a server setting.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
use %WINDIR%\SysWOW64\cmd /C to run "sh.exe --login %1 %*"
use {syswow64} variable to determine which cmd to use
addresses issue #12
Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>
For the test suite, we do not want popups blocking the test run...
This script comes in real handy e.g. when running the test suite in
Jenkins, where the Jenkins Windows node has a graphical desktop by
necessity but nobody looks at it.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Previous cURL versions did not try to build .dll files; unfortunately,
support for .dll files is not quite cooked yet: when enabling the shared
library build, libcurl.a contains symbols marked as dllexport, which makes
the link stage fail (as reported by Pat Thoyts).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>