]> gitweb.factorcode.org Git - factor.git/commitdiff
cli.git: Fix parameter order.
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 6 Jul 2018 23:49:19 +0000 (18:49 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 7 Jul 2018 02:22:26 +0000 (21:22 -0500)
extra/cli/git/git.factor

index bfee6419ff2171e85552887f3f4b92321b4c5a2e..03c8cbeabbd41d8319599daf85f8e4cf2eefcdd5 100644 (file)
@@ -38,7 +38,7 @@ cli-git-num-parallel [ cpus 2 * ] initialize
 : git-diff-name-only* ( from to -- lines )
     [ { "git" "diff" "--name-only" } ] 2dip 2array append git-command>lines ;
 : git-diff-name-only ( path from to -- lines )
-    [ git-diff-name-only* ] with-directory ;
+    '[ _ _ git-diff-name-only* ] with-directory ;
 
 : git-repository? ( directory -- ? )
     ".git" append-path current-directory get prepend-path