From 53ce76e1ff1aa1749a51cb9d1e9438dc3bde4682 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Sat, 28 Mar 2015 19:18:25 -0600 Subject: [PATCH] push: remoteMkdirAll parent to obtain parent Fixes issue #130 --- src/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/push.go b/src/push.go index 0837ac72..1a137c45 100644 --- a/src/push.go +++ b/src/push.go @@ -279,7 +279,7 @@ func (g *Commands) remoteMod(change *Change) (err error) { } parentPath := g.parentPather(change.Path) - parent, err = g.rem.FindByPath(parentPath) + parent, err = g.remoteMkdirAll(parentPath) if err != nil { return err