qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

list-moved-keyboards.sh (585B)


      1 #!/usr/bin/env bash
      2 
      3 echo "This might take a while... let it sit." >&2
      4 
      5 git cherry upstream/master upstream/develop | awk '{print $2}' | while read sha1; do
      6     git diff --name-status -M25 ${sha1}^..${sha1} | grep 'keyboards/' | grep '^R' | grep -E '(info|keyboard).json'
      7 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
      8     if [[ $(echo $line | awk '{print $2}') != $(echo $line | awk '{print $3}') ]]; then
      9         echo $line
     10     fi
     11 done | sort -k+2 | awk '{printf "| %s | %s |\n", $2, $3}' | column -t | sort