projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636abc3
)
update: Fetch the refname before checking out the specified sha
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 6 Dec 2018 10:48:23 +0000
(07:48 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Thu, 6 Dec 2018 10:56:05 +0000
(07:56 -0300)
Working around freedesktop/freedesktop#95
git-update
patch
|
blob
|
history
diff --git
a/git-update
b/git-update
index b2e4cb122679ec24e10be8646b66fdedb2d03acd..9af245d90b099d18e6ed1a0f4f8d3f9734c983e1 100755
(executable)
--- a/
git-update
+++ b/
git-update
@@
-27,7
+27,7
@@
def manifest_get_commits(manifest):
remote = child.attrib.get('remote')
if remote:
- res[path] = [
'FETCH_HEAD', [os.path.join(remotes[remote], name), child.attrib['revision
']]]
+ res[path] = [
child.attrib["revision"], [os.path.join(remotes[remote], name), child.attrib['refname
']]]
else:
res[path] = [child.attrib["revision"], []]