shithub: git9

Download patch

ref: ac432ac824be5dea58ede0858f80820da6933ca4
parent: 6e472c21e1c7e7a698a301aac9c768ed890a4706
author: Ori Bernstein <[email protected]>
date: Sun Feb 23 13:41:11 EST 2020

show accurate list of files when doing commit

--- a/commit
+++ b/commit
@@ -45,7 +45,7 @@
 		echo '#'
 		for(p in $parents)
 			echo '# parent:' $p
-		git/walk -fAMR | sed 's/^/# /g'
+		git/walk -fAMR $files | sed 's/^/# /g'
 		echo '#'
 		echo '# Commit message:'
 	}