Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
5ada4930
Commit
5ada4930
authored
Mar 19, 2011
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gpull: always get tags
parent
a2c9a60e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gpull
bin/gpull
+3
-3
No files found.
bin/gpull
View file @
5ada4930
...
@@ -58,7 +58,7 @@ pull_all_branches()
...
@@ -58,7 +58,7 @@ pull_all_branches()
# pull all branches
# pull all branches
for
i
in
$(
get_branch_list
)
;
do
for
i
in
$(
get_branch_list
)
;
do
git checkout
$i
||
fatal
"can't checkout
$i
"
git checkout
$i
||
fatal
"can't checkout
$i
"
git pull
$REPO
$i
git pull
--tags
$REPO
$i
done
done
git checkout
$CURRENTBRANCH
git checkout
$CURRENTBRANCH
}
}
...
@@ -79,5 +79,5 @@ fi
...
@@ -79,5 +79,5 @@ fi
echo
"Pull repo from
$REPO
"
echo
"Pull repo from
$REPO
"
git pull
$REBASE
$REPO
$@
||
exit
git pull
$REBASE
$REPO
$@
||
exit
#
--rebase do not pull
tags
#
assure we get
tags
[
-n
"
$REBASE
"
]
&&
git pull
$REPO
$@
git pull
--tags
$REPO
$@
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