  static struct passwd *getpw_str(const char *username, size_t len)
  {
  	struct passwd *pw;
-@@ -612,6 +615,7 @@
+@@ -612,6 +613,7 @@
  	free(username_z);
  	return pw;
  }

 	return sb.buf;
 }
 
diff -ru git-2.13.1/entry.c git-2.13.1-new/entry.c
--- git-2.13.1/entry.c	2017-06-04 18:08:11.000000000 -0700
+++ git-2.13.1-new/entry.c	2017-06-25 15:19:22.984088453 -0700
@@ -167,6 +167,7 @@
 			return error("unable to read sha1 file of %s (%s)",
 				path, oid_to_hex(&ce->oid));
 
+#if 0
 		if (ce_mode_s_ifmt == S_IFLNK && has_symlinks && !to_tempfile) {
 			ret = symlink(new, path);
 			free(new);
@@ -175,6 +176,7 @@
 						   path);
 			break;
 		}
+#endif
 
 		/*
 		 * Convert from git internal format to working tree format
diff -ru git-2.13.1/environment.c git-2.13.1-new/environment.c
--- git-2.13.1/environment.c	2017-06-04 18:08:11.000000000 -0700
+++ git-2.13.1-new/environment.c	2017-06-25 15:19:22.984088453 -0700
@@ -15,7 +15,7 @@
 int trust_executable_bit = 1;
 int trust_ctime = 1;
 int check_stat = 1;
-int has_symlinks = 1;
+int has_symlinks = 0;
 int minimum_abbrev = 4, default_abbrev = -1;
 int ignore_case;
 int assume_unchanged;
diff -ru git-2.13.1/fast-import.c git-2.13.1-new/fast-import.c
--- git-2.13.1/fast-import.c	2017-06-04 18:08:11.000000000 -0700
+++ git-2.13.1-new/fast-import.c	2017-06-25 15:19:23.007421930 -0700

 	fprintf(stderr,
diff -ru git-2.13.1/strbuf.c git-2.13.1-new/strbuf.c
--- git-2.13.1/strbuf.c	2017-06-04 18:08:11.000000000 -0700
+++ git-2.13.1-new/strbuf.c	2017-07-05 12:24:29.957791169 -0700
@@ -446,6 +446,11 @@
 	for (;; guessed_len *= 2) {
 		strbuf_grow(sb, guessed_len);
 		if (getcwd(sb->buf, sb->alloc)) {
