projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump rtaudio for possible 7.1 Linux playback fix.
[dcpomatic.git]
/
hacks
/
apply_to_port
1
#!/bin/bash
2
3
if [ "$1" == "" ]; then
4
echo "Syntax: $0 commit-message"
5
exit 1
6
fi
7
8
commit=`head -n 1 TO_PORT`
9
msg="$commit from master; $*"
10
echo $msg
11
12
read -p "Commit? " -n 1 -r
13
echo
14
if [[ $REPLY =~ ^[Yy]$ ]]
15
then
16
sed -i '1d' TO_PORT
17
git commit -a -m "$msg"
18
fi