shithub: git9

Download patch

ref: 137053f83a65f32de2e8a29c1e635391decbbb37
parent: dfa936709698206cc881b2cbd6127532d1e8387c
author: Ori Bernstein <ori@eigenstate.org>
date: Sun May 10 22:32:01 EDT 2020

sync dir permissions with upstream git

upstream git uses 0040000 for directory permissions,
we should follow suit.

--- a/save.c
+++ b/save.c
@@ -18,7 +18,7 @@
 gitmode(int m)
 {
 	if(m & DMDIR)		/* directory */
-		return 0040755;
+		return 0040000;
 	else if(m & 0111)	/* executable */
 		return 0100755;
 	else if(m != 0)		/* regular */