From 43bc82520e2ca0a1394982e8206f1093e251a85f Mon Sep 17 00:00:00 2001 From: Martin Schaaf Date: Tue, 9 Jan 2024 16:40:28 +0100 Subject: [PATCH] calculate the day before the given since date as it excludes the given daten the inclusion is wanted --- git-quick-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-quick-stats b/git-quick-stats index 1cff546..fde7b43 100755 --- a/git-quick-stats +++ b/git-quick-stats @@ -416,7 +416,7 @@ function changelogs() { GIT_PAGER=cat git -c log.showSignature=false log \ --use-mailmap $_merges \ --format=" * %s (%aN)" "${_author}" \ - --since=$DATE --until=$next + --since==$(date -d "$DATE - 1 day" +"%Y-%m-%d") --until=$next next=$DATE done }