From 99cdaa0b69e884128e8f673f96bd4d3e32743d80 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 29 Dec 2022 14:43:09 +0100 Subject: main: refactor BuildInfo code Simplify and move it into a new file version.go. --- init_dir.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'init_dir.go') diff --git a/init_dir.go b/init_dir.go index e895f00..5ade692 100644 --- a/init_dir.go +++ b/init_dir.go @@ -55,8 +55,6 @@ func isDir(dir string) error { // In reverse mode, we create .gocryptfs.reverse.conf and the directory does // not need to be empty. func initDir(args *argContainer) { - initGIT() - var err error if args.reverse { _, err = os.Stat(args.config) -- cgit v1.2.3