Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3404580e
Commit
3404580e
authored
Jul 10, 2013
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update make.mysql.debug.env.bash to support remote branches when cloned locally
parent
4279e16c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
scripts/make.mysql.debug.env.bash
scripts/make.mysql.debug.env.bash
+5
-1
No files found.
scripts/make.mysql.debug.env.bash
View file @
3404580e
...
@@ -39,7 +39,11 @@ function github_clone() {
...
@@ -39,7 +39,11 @@ function github_clone() {
pushd
$repo
pushd
$repo
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
-z
$git_tag
]
;
then
if
[
-z
$git_tag
]
;
then
if
!
git branch |
grep
"
\<
$tree
\>
"
>
/dev/null
&&
git branch
-a
|
grep
"remotes/origin/
$tree
\>
"
>
/dev/null
;
then
git checkout
--track
origin/
$tree
else
git checkout
$tree
git checkout
$tree
fi
else
else
git checkout
$git_tag
git checkout
$git_tag
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment