mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 19:09:46 +00:00
17 lines
335 B
Bash
Executable File
17 lines
335 B
Bash
Executable File
#!/bin/bash
|
|
|
|
TODO=$1
|
|
|
|
# Drop commits not used
|
|
DROP_COMMITS="
|
|
UNSTABLE\: This is a placeholder\. Commits after this point are considered experimental\.
|
|
"
|
|
|
|
IFS=$'\n'
|
|
for COMMIT in $DROP_COMMITS; do
|
|
sed -i -E "s/^pick ([0-9a-f]+) (${COMMIT}.*)/drop \1 \2/g" $TODO
|
|
done
|
|
|
|
grep -E "^drop " $TODO > /tmp/dropped
|
|
sed -i -E "/^drop /d" $TODO
|