Documented weekend behaviour of git standup -w

This commit is contained in:
Tobias Fendin 2022-04-28 19:24:12 +02:00
parent 4fcd233bf2
commit 5754b81047
3 changed files with 9 additions and 3 deletions

View file

@ -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

View file

@ -105,7 +105,10 @@ Defaults to <code>$(git config user.name)</code>.</p>
<p>-w <var>weekstart-weekend</var></p>
<p>Limit the search range to weekdays. If weekstart and/or weekend are missing they default to Mon and Fri.</p>
<p>Limit the search range to weekdays.
If <var>weekstart</var> and/or <var>weekend</var> are missing they default to Mon and Fri.
If the current day is <var>weekstart</var> commits made on <var>weekend</var> will be included.
I.e. calling <code>git standup -w -</code> on a Monday will include commits made on the last Friday.</p>
<p>-D relative</p>

View file

@ -31,7 +31,10 @@ The start of commit history. Defaults to 1, means "1 days ago".
-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