Commit Graph

4 Commits

Author SHA1 Message Date
Johannes Schindelin
857a6716ab Refactor git-wrapper into more functions
This prepares the wrapper for modifications to serve as a drop-in
replacement for the builtins.

This commit's diff is best viewed with the `-w` flag.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-03-18 08:50:33 +01:00
Johannes Schindelin
77b10cf882 fixup! Add Git for Windows' wrapper executable
This change simply makes the Git wrapper's source code conform to Git's
coding guide lines.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-03-17 15:41:30 +01:00
Johannes Schindelin
529a89998a fixup! Add Git for Windows' wrapper executable
Fix whitespace. This trick was performed by

	git rebase --whitespace=fix HEAD^

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-03-17 15:40:55 +01:00
Johannes Schindelin
9e7db4976e Add Git for Windows' wrapper executable
On Windows, Git is faced by the challenge that it has to set up certain
environment variables before running Git under special circumstances
such as when Git is called directly from cmd.exe (i.e. outside any
Bash environment).

This source code was taken from msysGit's commit 74a198d:

https://github.com/msysgit/msysgit/blob/74a198d/src/git-wrapper/git-wrapper.c

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-03-13 14:16:43 +01:00