6aed6a45d3
* Global fetch before specific sha fetch * Update to js-precompiled 20161018-161705
20 lines
229 B
Bash
Executable File
20 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
# change into the submodule build directory
|
|
pushd `dirname $0`
|
|
cd ../build
|
|
|
|
if [ -z "$1" ]; then
|
|
popd
|
|
echo "Usage: $0 <sha-commit>"
|
|
exit 1
|
|
fi
|
|
|
|
git fetch
|
|
git fetch origin $1
|
|
git merge $1 -X theirs
|
|
|
|
popd
|
|
exit 0
|