projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Certs module initial checkin
[osm/devops.git]
/
jenkins
/
common
/
git_functions
diff --git
a/jenkins/common/git_functions
b/jenkins/common/git_functions
index
7856623
..
afd0962
100644
(file)
--- a/
jenkins/common/git_functions
+++ b/
jenkins/common/git_functions
@@
-2,8
+2,7
@@
GIT() {
GIT() {
-
- CMD git "$@"
+ CMD git "$@"
}
}
@@
-20,7
+19,7
@@
OSM_git_checkout() {
INFO "cloning MDG $OSM_MDG from $OSM_GIT_URL/$OSM_MDG"
GIT clone $OSM_GIT_URL/$OSM_MDG
cd $OSM_MDG
INFO "cloning MDG $OSM_MDG from $OSM_GIT_URL/$OSM_MDG"
GIT clone $OSM_GIT_URL/$OSM_MDG
cd $OSM_MDG
- for remote in `git branch -r`; do GIT branch --track ${remote#origin/} $remote; done
+ for remote in `git branch -r
|grep -v /HEAD
`; do GIT branch --track ${remote#origin/} $remote; done
fi
if [ $# -gt 0 ]; then
fi
if [ $# -gt 0 ]; then
@@
-38,3
+37,4
@@
OSM_git_checkout() {
fi
}
fi
}
+