]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib.sh
Merge branch 'js/stress-test-ui-tweak'
[thirdparty/git.git] / t / test-lib.sh
index 66099a48044b57dd0740999b26210fc3058ba8f7..562c57e6858b79aff074fcb7ab8c65fa2f110bc0 100644 (file)
@@ -1334,7 +1334,11 @@ then
        fi
 fi
 
-# Provide an implementation of the 'yes' utility
+# Provide an implementation of the 'yes' utility; the upper bound
+# limit is there to help Windows that cannot stop this loop from
+# wasting cycles when the downstream stops reading, so do not be
+# tempted to turn it into an infinite loop. cf. 6129c930 ("test-lib:
+# limit the output of the yes utility", 2016-02-02)
 yes () {
        if test $# = 0
        then