Here are a few simple commits that are included in the msysgit
release but not in git.git.
Steffen
Johannes Schindelin (4):
MinGW: the path separator to split GITPERLLIB is ';' on Win32
MinGW: use POSIX signature of waitpid()
MinGW: Add a simple getpass()
MinGW: Fix compiler warning in merge-recursive
Peter Harris (1):
MinGW: Scan for \r in addition to \n when reading shbang lines
Makefile | 4 +++-
builtin-merge-recursive.c | 5 +++--
compat/mingw.c | 19 +++++++++++++++++--
compat/mingw.h | 4 +++-
4 files changed, 26 insertions(+), 6 deletions(-)
From: Peter Harris <redacted>
\r is common on Windows, so we should handle it gracefully.
Signed-off-by: Steffen Prohaska <redacted>
---
compat/mingw.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
From: Johannes Schindelin <redacted>
GCC 4.4.0 on Windows does not like the format %zu. It is quite unlikely,
though, that we need more merge bases than a %d can display, so replace
the %zu by a %d.
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Steffen Prohaska <redacted>
---
builtin-merge-recursive.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
@@ -45,8 +45,9 @@ int cmd_merge_recursive(int argc, const char **argv, const char *prefix)bases[bases_count++]=sha;}else-warning("Cannot handle more than %zu bases. "-"Ignoring %s.",ARRAY_SIZE(bases)-1,argv[i]);+warning("Cannot handle more than %d bases. "+"Ignoring %s.",+(int)ARRAY_SIZE(bases)-1,argv[i]);}if(argc-i!=3)/* "--" "<head>" "<remote>" */die("Not handling anything other than two heads merge.");
From: Johannes Schindelin <redacted>
We need getpass() to activate curl on MinGW. Although the default
Makefile currently has 'NO_CURL = YesPlease', msysgit releases do
provide curl support, so getpass() is used.
[spr: - edited commit message.
- squashed commit that provides getpass() declaration.]
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Steffen Prohaska <redacted>
---
compat/mingw.c | 15 +++++++++++++++
compat/mingw.h | 2 ++
2 files changed, 17 insertions(+), 0 deletions(-)