hugolib: Ignore non-source files on partial rebuild
authorxofyarg <xofyarg@users.noreply.github.com>
Sat, 22 Apr 2017 20:38:54 +0000 (21:38 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 22 Apr 2017 20:38:54 +0000 (22:38 +0200)
commitb5b6e81c0269abf9b0f4bc6a127744a25344e5c6
tree726ffb2aeb2ddb86b4f426a25d03b73efcb04e46
parent90d3fbf1da93a279cfe994a226ae82cf5441deab
hugolib: Ignore non-source files on partial rebuild

Partial rebuild does not have the same logic as normal rebuild on
selecting which file to build. This change makes it possible to
share the file select logic between two kinds of build.

Fix #3325.
hugolib/site.go
source/filesystem.go