projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298cf04
)
git-r3.eclass: Unset local function after use
author
Michał Górny
<mgorny@gentoo.org>
Sun, 6 Dec 2015 16:14:52 +0000
(17:14 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Sun, 6 Dec 2015 16:15:15 +0000
(17:15 +0100)
eclass/git-r3.eclass
patch
|
blob
|
history
diff --git
a/eclass/git-r3.eclass
b/eclass/git-r3.eclass
index 8b5ffd5318456ef0edc4d9f34b8d2b1e0c5cd660..42d6dbf6b326c2e3800786ce80b511a3d020bdbc 100644
(file)
--- a/
eclass/git-r3.eclass
+++ b/
eclass/git-r3.eclass
@@
-821,6
+821,7
@@
git-r3_checkout() {
"${@}" || die "git checkout ${remote_ref:-${new_commit_id}} failed"
}
git-r3_sub_checkout
+ unset -f git-r3_sub_checkout
local old_commit_id=$(
git rev-parse --quiet --verify refs/git-r3/"${local_id}"/__old__