From c2c315f45f3e0980af1af9bd90c09696c159fd8c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Mar 2018 11:32:16 +0200 Subject: Use 12 instead of 16-character abbreviated hash This should help a bit with long paths on Windows. --- bpkg/manifest-utility.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/manifest-utility.cxx') diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index 4a7d0db..10a1512 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -146,7 +146,7 @@ namespace bpkg case repository_type::git: { - return dir_path (sha256 (l.canonical_name ()).abbreviated_string (16)); + return dir_path (sha256 (l.canonical_name ()).abbreviated_string (12)); } } -- cgit v1.1