From 5754b810478b045b542ca0ad3dc98dfeb685600e Mon Sep 17 00:00:00 2001 From: Tobias Fendin Date: Thu, 28 Apr 2022 19:24:12 +0200 Subject: [PATCH] Documented weekend behaviour of git standup -w --- man/git-standup.1 | 2 +- man/git-standup.html | 5 ++++- man/git-standup.md | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/man/git-standup.1 b/man/git-standup.1 index b69a2dc..2a5ce0a 100644 --- a/man/git-standup.1 +++ b/man/git-standup.1 @@ -28,7 +28,7 @@ The start of commit history\. Defaults to 1, means "1 days ago"\. .P \-w \fIweekstart\-weekend\fR .P -Limit the search range to weekdays\. If weekstart and/or weekend are missing they default to Mon and Fri\. +Limit the search range to weekdays\. If \fIweekstart\fR and/or \fIweekend\fR are missing they default to Mon and Fri\. If the current day is \fIweekstart\fR commits made on \fIweekend\fR will be included\. I\.e\. calling \fBgit standup \-w \-\fR on a Monday will include commits made on the last Friday\. .P \-D relative .P diff --git a/man/git-standup.html b/man/git-standup.html index 3d29189..e229de8 100644 --- a/man/git-standup.html +++ b/man/git-standup.html @@ -105,7 +105,10 @@ Defaults to $(git config user.name).

-w weekstart-weekend

-

Limit the search range to weekdays. If weekstart and/or weekend are missing they default to Mon and Fri.

+

Limit the search range to weekdays. +If weekstart and/or weekend are missing they default to Mon and Fri. +If the current day is weekstart commits made on weekend will be included. +I.e. calling git standup -w - on a Monday will include commits made on the last Friday.

-D relative

diff --git a/man/git-standup.md b/man/git-standup.md index 7d7bdac..cc41604 100644 --- a/man/git-standup.md +++ b/man/git-standup.md @@ -31,7 +31,10 @@ The start of commit history. Defaults to 1, means "1 days ago". -w -Limit the search range to weekdays. If weekstart and/or weekend are missing they default to Mon and Fri. +Limit the search range to weekdays. +If and/or are missing they default to Mon and Fri. +If the current day is commits made on will be included. +I.e. calling `git standup -w -` on a Monday will include commits made on the last Friday. -D relative