Skip to content

Commit

Permalink
scripts/ros-cherrypick.sh: Use diffstat instead of lsdiff
Browse files Browse the repository at this point in the history
The diffstat command is more commonly installed than lsdiff.

Signed-off-by: Rob Woolley <[email protected]>
  • Loading branch information
robwoolley committed Jan 23, 2024
1 parent 970f087 commit 1e38cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ros-cherrypick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ while IFS= read -r COMMIT_ID; do
fi

# Create a list of files from the commit
COMMIT_FILE_LIST=$(git show --no-renames $COMMIT_ID | lsdiff --strip=1)
COMMIT_FILE_LIST=$(git show --no-renames $COMMIT_ID | diffstat -p1 -l)
FILTER_LIST=""
REPLACE_LIST=""

Expand Down

0 comments on commit 1e38cdf

Please sign in to comment.