git: 9front

Download patch

ref: 453bcc2c16209430fa54ebdb116c7d626a9ed85b
parent: 477214d5055b173f48891b67331b180c9f142651
author: qwx <qwx@sciops.net>
date: Fri Feb 6 17:18:53 EST 2026

git: fix typo causing partial listings when supplying git/diff -u with a path

--- a/sys/src/cmd/git/walk.c
+++ b/sys/src/cmd/git/walk.c
@@ -586,7 +586,7 @@
 					show(o, Tflg, tstr, wdir[j].path);
 				else
 					show(o, Mflg, mstr, wdir[j].path);
-			}else if(printflg & Uflg && pfxmatch(idx[i].path, argrel, argn, argc))
+			}else if(printflg & Uflg && pfxmatch(wdir[j].path, argrel, argn, argc))
 				show(o, Uflg, ustr, wdir[j].path);
 			j++;
 		}
--