From 67ab73d3819e46d15de45bc824d73efc3626d3bd Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Wed, 19 Dec 2018 23:33:58 +0100 Subject: fetch_strategy: improve GitFetchStrategy (#10153) Currently, only the Git repsository's URL shows up in the `spack info` output, which makes it hard to distinguish different versions: ``` Safe versions: develop [git] https://github.com/LLNL/H5Z-ZFP.git 0.8.0 [git] https://github.com/LLNL/H5Z-ZFP.git 0.7.0 [git] https://github.com/LLNL/H5Z-ZFP.git ``` This change adds additional information as shown when cloning a Git repository: ``` Safe versions: develop [git] https://github.com/LLNL/H5Z-ZFP.git on branch master 0.8.0 [git] https://github.com/LLNL/H5Z-ZFP.git at commit af165c4 0.7.0 [git] https://github.com/LLNL/H5Z-ZFP.git at commit 58ac811 ``` --- var/spack/repos/builtin/packages/h5z-zfp/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/h5z-zfp/package.py b/var/spack/repos/builtin/packages/h5z-zfp/package.py index 2b0283f1d4..fee28a1f89 100644 --- a/var/spack/repos/builtin/packages/h5z-zfp/package.py +++ b/var/spack/repos/builtin/packages/h5z-zfp/package.py @@ -13,7 +13,7 @@ class H5zZfp(MakefilePackage): homepage = "http://h5z-zfp.readthedocs.io/en/latest" git = "https://github.com/LLNL/H5Z-ZFP.git" - version('develop', tag='master') + version('develop', branch='master') version('0.8.0', commit='af165c4') version('0.7.0', commit='58ac811') -- cgit v1.2.3-60-g2f50