projects
/
shortlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec19a74
)
Don't serve .gitignore (or other non-entry files)
master
author
Drew Fisher
<drew.m.fisher@gmail.com>
Sun, 2 Oct 2022 04:16:33 +0000
(21:16 -0700)
committer
Drew Fisher
<drew.m.fisher@gmail.com>
Sun, 2 Oct 2022 04:16:33 +0000
(21:16 -0700)
shortlog.py
patch
|
blob
|
history
diff --git
a/shortlog.py
b/shortlog.py
index 4eaf96a4c168d44632d203d3693e969818624d1f..89e2421697d0c96c2224dbe40802c003c037ffaa 100755
(executable)
--- a/
shortlog.py
+++ b/
shortlog.py
@@
-97,7
+97,7
@@
def loadComment(filepath):
return (nameline, emailline, websiteline, commentbody, timestamp, gravatar)
def most_recent_entries_filelist(count):
- files = sorted(
os.listdir(entriesdir)
)
+ files = sorted(
[x for x in os.listdir(entriesdir) if re.match("\d\d\d\d-\d\d-\d\d.txt", x)]
)
return files[-count:]
def getCommentFiles(date): # Returns a list of paths to comment files associated with date