summaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2022-12-29 14:43:09 +0100
committerJakob Unterwurzacher2022-12-29 14:43:48 +0100
commit99cdaa0b69e884128e8f673f96bd4d3e32743d80 (patch)
tree8323fdf44a3d63bf447a9bb81909070fc1bc4cd7 /init_dir.go
parent439dea1b198a9edd384e3b9763a9c5672ce62b67 (diff)
main: refactor BuildInfo code
Simplify and move it into a new file version.go.
Diffstat (limited to 'init_dir.go')
-rw-r--r--init_dir.go2
1 files changed, 0 insertions, 2 deletions
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)