From 917d6c000fb2ae9a348d4e76342e582b630d29c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 6 Dec 2015 17:14:52 +0100 Subject: [PATCH] git-r3.eclass: Unset local function after use --- eclass/git-r3.eclass | 1 + 1 file changed, 1 insertion(+) 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__ -- 2.26.2