From: Michał Górny Date: Sun, 6 Dec 2015 16:14:52 +0000 (+0100) Subject: git-r3.eclass: Unset local function after use X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=917d6c000fb2ae9a348d4e76342e582b630d29c9;p=gentoo.git git-r3.eclass: Unset local function after use --- 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__