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
2015-08-24 11:04:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a7f4104d459869c3d35696f3d61ddb2d22ebb564
a7f4104d
1 parent
064031ca
fix bug of commit script
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/scripts/git.commit.sh
trunk/scripts/git.commit.sh
查看文件 @
a7f4104
...
...
@@ -24,7 +24,7 @@ product_dir=$work_dir
# allow start script from any dir
cd
$work_dir
&&
work_branch
=
`
git branch -a|grep
"*"
|awk
'{print $2}'
`
&&
commit_branch
=
2.0release
&&
git checkout
$commit_branch
ret
=
$
"
; if [[
$ret
-ne 0 ]]; then echo "
switch branch failed.
ret
=
$ret
"; exit
$ret
; fi
ret
=
$
ret
;
if
[[
$ret
-ne 0
]]
;
then
echo
"switch branch failed. ret=
$ret
"
;
exit
$ret
;
fi
echo
"work branch is
$work_branch
"
echo
"commit branch is
$commit_branch
"
...
...
请
注册
或
登录
后发表评论