Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
fa80de5a
Commit
fa80de5a
authored
10 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Update tree id to track local merge branch name"
parents
7cf690f2
e62d1024
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
treeid.sh
+2
-2
2 additions, 2 deletions
treeid.sh
with
2 additions
and
2 deletions
treeid.sh
+
2
−
2
View file @
fa80de5a
...
...
@@ -3,7 +3,7 @@
# Attempt to identify the Android tree in use. On success one or more
# tree identifiers are output to stdout.
#
# Copyright (c) 2012-201
3
, The Linux Foundation. All rights reserved.
# Copyright (c) 2012-201
4
, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
...
...
@@ -39,7 +39,7 @@ fi
TREEID
=
if
[[
-f
.repo/manifest.xml
]]
;
then
# Tokenize <default revision="x_y_z"/> by '_'
TOKENS
=
$(
repo manifest |
sed
-e
\
'/
<default
.*/!d ; s/^.*
revision=
"// ; s/
"
.*
$// ; s/refs\/tags\/// ; s/.*\/// ; s/
_/
/g;'
)
TOKENS
=
$(
repo
info
-l
.repo/
manifest |
sed
-e
\
'/
merge
.*/!d ; s/^.*
branch:
"// ; s/.*
b2g
_//g;'
)
MANIFEST_ID
=
for
T
in
$TOKENS
;
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment