This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
zola
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Ignore one more type of emacs temp file
index-subcmd
Vincent Prouillet
6 years ago
parent
5e6458aa61
commit
58e2793097
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
CHANGELOG.md
+2
-1
src/cmd/serve.rs
+ 2
- 0
CHANGELOG.md
View File
@@ -10,6 +10,8 @@
- Load table and footnote markdown extensions in `markdown` filter
- `get_url` now defaults to not adding a trailing slash
- Fix `--base-url` not overriding processed images URLs
- Many many times faster (x10-x20) for sites with thousands of pages
- Add more Emacs temp file to the ignored patterns in `gutenberg serve`
## 0.4.2 (2018-09-03)
+ 2
- 1
src/cmd/serve.rs
View File
@@ -306,7 +306,8 @@ fn is_temp_file(path: &Path) -> bool {
_ => {
if let Some(filename) = path.file_stem() {
// emacs
filename.to_str().unwrap().starts_with('#')
let name = filename.to_str().unwrap();
name.starts_with('#') || name.starts_with(".#")
} else {
false
}
Write
Preview
Loading…
Cancel
Save