mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
c9f9cb2510
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
12 lines
585 B
Bash
Executable File
12 lines
585 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "This might take a while... let it sit." >&2
|
|
|
|
git cherry upstream/master upstream/develop | awk '{print $2}' | while read sha1; do
|
|
git diff --name-status -M25 ${sha1}^..${sha1} | grep 'keyboards/' | grep '^R' | grep -E '(info|keyboard).json'
|
|
done | sed -e 's@keyboards/@@g' -e 's@/info.json@@g' -e 's@/keyboard.json@@g' | sort -k+2 | while IFS=$'\n' read line; do
|
|
if [[ $(echo $line | awk '{print $2}') != $(echo $line | awk '{print $3}') ]]; then
|
|
echo $line
|
|
fi
|
|
done | sort -k+2 | awk '{printf "| %s | %s |\n", $2, $3}' | column -t | sort
|