projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flash/nor/stm32lx: Add revision 'X' for Cat.4/3 devices
[fw/openocd]
/
tools
/
initial.sh
diff --git
a/tools/initial.sh
b/tools/initial.sh
index c183d014e3daa87ee8292a2ebc24a134746619db..eafc9c13872c42e689ec597ffb0d503b97991f6c 100755
(executable)
--- a/
tools/initial.sh
+++ b/
tools/initial.sh
@@
-11,7
+11,7
@@
add_remote()
{
remote_exist=`grep remote .git/config | grep review | wc -l`
if [ "x$remote_exist" = "x0" ] ; then
{
remote_exist=`grep remote .git/config | grep review | wc -l`
if [ "x$remote_exist" = "x0" ] ; then
- git remote add review ssh://$USERNAME@
openocd.zylin.com
:29418/openocd.git
+ git remote add review ssh://$USERNAME@
review.openocd.org
:29418/openocd.git
git config remote.review.push HEAD:refs/for/master
else
echo "Remote review exists"
git config remote.review.push HEAD:refs/for/master
else
echo "Remote review exists"
@@
-20,12
+20,12
@@
add_remote()
update_commit_msg()
{
update_commit_msg()
{
- cd
${TOPDIR}/.git/hooks
+ cd
"${TOPDIR}/.git/hooks"
save_file=commit-msg-`date +%F-%T`
mv commit-msg $save_file
printf "%-30s" "Updating commit-msg"
status="OK"
save_file=commit-msg-`date +%F-%T`
mv commit-msg $save_file
printf "%-30s" "Updating commit-msg"
status="OK"
- wget -o log http
://openocd.zylin.com/tools/hooks/commit-msg
|| status="FAIL"
+ wget -o log http
s://review.openocd.org/tools/hooks/commit-msg
|| status="FAIL"
echo $status
if [ $status = "FAIL" ] ; then
mv $save_file commit-msg
echo $status
if [ $status = "FAIL" ] ; then
mv $save_file commit-msg