[ https://issues.apache.org/jira/browse/YETUS-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated YETUS-872: ----------------------------------- Labels: beginner (was: ) > compute_gitdiff should get re-optimized > --------------------------------------- > > Key: YETUS-872 > URL: https://issues.apache.org/jira/browse/YETUS-872 > Project: Yetus > Issue Type: Improvement > Components: Precommit > Reporter: Allen Wittenauer > Priority: Major > Labels: beginner > > In particular: > {code} > startline=$(echo "${line}" | cut -f3 -d' ' | cut -f1 -d, | tr -d + ) > numlines=$(echo "${line}" | cut -f3 -d' ' | cut -s -f2 -d, ) > {code} > should be able to be re-written using native bash string substitution, > cutting back on a lot of process forking. -- This message was sent by Atlassian Jira (v8.3.4#803005)