aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.go b/main.go
index f70faa4..691ff25 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,6 @@ func main() {
source := os.Args[1]
dest := os.Args[2]
-
- os.MkdirAll(dest, 0775)
- Commit(source, dest)
+ repo := NewRepo(dest)
+ repo.Commit(source)
}