Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-12-26 21:49:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dfd4eeca459f7d30ac192a32c7f6289c5a281291
dfd4eeca
1 parent
9a66d22f
hotfix 1.0release, git checkout develop when commit
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
trunk/scripts/git.commit.sh
trunk/scripts/git.commit.sh
查看文件 @
dfd4eec
...
...
@@ -2,7 +2,7 @@
cat
<<END >>/dev/null
touch git-ensure-commit &&
echo "cd `pwd` && git checkout
master
&&" >git-ensure-commit &&
echo "cd `pwd` && git checkout
develop
&&" >git-ensure-commit &&
echo "bash `pwd`/git.commit.sh" >>git-ensure-commit &&
chmod +x git-ensure-commit &&
sudo rm -f /bin/git-ensure-commit &&
...
...
@@ -23,7 +23,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)`
product_dir
=
$work_dir
# allow start script from any dir
cd
$work_dir
&&
git checkout
master
cd
$work_dir
&&
git checkout
develop
.
${
product_dir
}
/scripts/_log.sh
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
exit
$ret
;
fi
...
...
请
注册
或
登录
后发表评论