shithub: git9

Download patch

ref: 72621d62735fefe8bbcbf7308f6f271abe9c8f37
parent: cb5eaa11386a1346a086e1672198854fdbebff3c
author: Ori Bernstein <[email protected]>
date: Tue Oct 15 22:37:11 EDT 2019

Add clarifying comment on why we walk.

--- a/pull
+++ b/pull
@@ -94,6 +94,9 @@
 
 cp .git/refs/$remote .git/refs/$local
 if(! ~ $#modified 0){
+	# Modifications can turn a file into
+	# a directory, so we need to walk to
+	# check the blobs out correctly.
 	for(m in `{walk -f $modified}){
 		gm=/mnt/git/HEAD/tree/$m
 		d=`{basename -d $m}