This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 2911963824 GROOVY-11742: posix commands should support variable
assignment (adjust total for wc)
2911963824 is described below
commit 29119638248f60e0962737ae21ce62dca7844ba7
Author: Paul King <[email protected]>
AuthorDate: Tue Aug 26 23:07:35 2025 +1000
GROOVY-11742: posix commands should support variable assignment (adjust
total for wc)
---
.../groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java
b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java
index 1b8bb53019..512bfd1f1b 100644
---
a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java
+++
b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java
@@ -165,7 +165,6 @@ public class GroovyPosixCommands extends PosixCommands {
case "auto":
case "tty":
case "if-tty":
- total = context.isTty();
break;
default:
throw new IllegalArgumentException("invalid argument '" +
totalOpt + "' for '--total'");