From f619db022734dff6b988c514e3a292a5c7babaf0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 22 Feb 2018 15:02:15 +0300 Subject: Invent repository_state() function --- bpkg/pkg-checkout.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bpkg/pkg-checkout.cxx') diff --git a/bpkg/pkg-checkout.cxx b/bpkg/pkg-checkout.cxx index 7377b8e..f068b54 100644 --- a/bpkg/pkg-checkout.cxx +++ b/bpkg/pkg-checkout.cxx @@ -4,8 +4,6 @@ #include -#include - #include #include @@ -118,7 +116,7 @@ namespace bpkg // dir_path sd (c / repos_dir); - sd /= dir_path (sha256 (rl.canonical_name ()).abbreviated_string (16)); + sd /= repository_state (rl); sd /= dir_path (pl->fragment); sd /= path_cast (pl->location); -- cgit v1.1