From 5bb4a72f9541fa59fa3770a52da6edb619f5a897 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Sun, 10 Jan 2016 20:55:46 +0300 Subject: [PATCH] Add satan sha to glockfile script --- submodules-to-glockfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/submodules-to-glockfile.py b/submodules-to-glockfile.py index 60fd4b9..236895e 100755 --- a/submodules-to-glockfile.py +++ b/submodules-to-glockfile.py @@ -7,6 +7,7 @@ def main(): source = open(".gitmodules").read() paths = re.findall(r"path = (.*)", source) + print "github.com/localhots/satan {}".format(path_sha1(".")) for path in paths: print "{repo} {sha}".format( repo = path[7:],