shithub: hugo

Download patch

ref: b5030782ae5e6cda3aa7a7dd9fb8ffa4f2d16a32
parent: 273a68400ff081d05508afbcb6d158711b865307
author: Bjørn Erik Pedersen <[email protected]>
date: Fri May 6 16:30:03 EDT 2016

Ignore Byword temp files

Fixes #2126

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -749,11 +749,11 @@
 						filepath.Base(ev.Name) == "4913" ||
 						strings.HasPrefix(ext, ".goutputstream") ||
 						strings.HasSuffix(ext, "jb_old___") ||
-						strings.HasSuffix(ext, "jb_bak___")
+						strings.HasSuffix(ext, "jb_bak___") ||
+						strings.HasPrefix(ext, ".sb-")
 					if istemp {
 						continue
 					}
-
 					// Sometimes during rm -rf operations a '"": REMOVE' is triggered. Just ignore these
 					if ev.Name == "" {
 						continue