summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 17:14:52 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-06 17:15:15 +0100
commit917d6c000fb2ae9a348d4e76342e582b630d29c9 (patch)
tree290ed78e1084a518d4a53a895745dff8ec9cc45e /eclass
parentprofiles/package.mask: Mask dev-java/{mg4j,webgraph}. See bug 161440. (diff)
downloadgentoo-917d6c000fb2ae9a348d4e76342e582b630d29c9.tar.gz
gentoo-917d6c000fb2ae9a348d4e76342e582b630d29c9.tar.bz2
gentoo-917d6c000fb2ae9a348d4e76342e582b630d29c9.zip
git-r3.eclass: Unset local function after use
Diffstat (limited to 'eclass')
-rw-r--r--eclass/git-r3.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 8b5ffd531845..42d6dbf6b326 100644
--- 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__