  }
  
  static void finish_early_output(struct rev_info *rev)
+diff -ru source/common-main.c source-new/common-main.c
 --- source/common-main.c	2017-06-04 18:08:11.000000000 -0700
-+++ source-new/common-main.c	2017-08-15 13:10:15.490958287 -0700
++++ source-new/common-main.c	2017-08-15 13:29:42.346302539 -0700
 @@ -15,12 +15,14 @@
   */
  static void restore_sigpipe_to_default(void)

 }
 
 #endif
--- source/git-compat-util.h	2017-06-04 18:08:11.000000000 -0700
+++ source-new/git-compat-util.h	2017-08-15 13:10:15.530958918 -0700
@@ -179,7 +179,6 @@
 #include <assert.h>
 #include <regex.h>

 		die("cannot drop privileges");
 }
 
@@ -1174,11 +1178,7 @@
 	if (!group_name)
 		c.gid = c.pass->pw_gid;
 	else {
-		struct group *group = getgrnam(group_name);
-		if (!group)
 			die("group not found - %s", group_name);
-
-		c.gid = group->gr_gid;
 	}
 
 	return &c;
@@ -1349,7 +1349,7 @@
 	}
 
 	if (log_syslog) {
