URI: 
       commands: Keep "." directories on cleanDestinationDir - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 559b4007f71f048e2505c5aae253b96169274309
   DIR parent 5e191ccf4c3f53dc73d78342157004bc78359fc7
  HTML Author: Eamonn <eamonnmcevoy@outlook.com>
       Date:   Tue, 21 Mar 2017 23:10:31 +1100
       
       commands: Keep "." directories on cleanDestinationDir
       
       Fixes #3208
       Diffstat:
         M commands/hugo.go                    |       5 +++++
         M vendor/vendor.json                  |       6 +++---
       
       2 files changed, 8 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/commands/hugo.go b/commands/hugo.go
       @@ -579,8 +579,13 @@ func (c *commandeer) copyStatic() error {
                // Now that we are using a unionFs for the static directories
                // We can effectively clean the publishDir on initial sync
                syncer.Delete = c.Cfg.GetBool("cleanDestinationDir")
       +
                if syncer.Delete {
                        c.Logger.INFO.Println("removing all files from destination that don't exist in static dirs")
       +
       +                syncer.DeleteFilter = func(f os.FileInfo) bool {
       +                        return f.IsDir() && strings.HasPrefix(f.Name(), ".")
       +                }
                }
                c.Logger.INFO.Println("syncing static files to", publishDir)
        
   DIR diff --git a/vendor/vendor.json b/vendor/vendor.json
       @@ -281,10 +281,10 @@
                                "revisionTime": "2017-02-17T16:44:07Z"
                        },
                        {
       -                        "checksumSHA1": "NOrvS8XdRlWNXTvGi+oqEHlQYWA=",
       +                        "checksumSHA1": "XSh/IxmHbGUf4tYB61wn9zK4g7U=",
                                "path": "github.com/spf13/fsync",
       -                        "revision": "cb2da332d00cbc04e4f3f677520dc3e7cc11874b",
       -                        "revisionTime": "2016-11-30T04:45:28Z"
       +                        "revision": "12a01e648f05a938100a26858d2d59a120307a18",
       +                        "revisionTime": "2017-03-20T14:25:52Z"
                        },
                        {
                                "checksumSHA1": "9pkkhgKp3mwSreiML3plQlQYdLQ=",