From 4fcd233bf29a32e07f1d19877eda36784970178d Mon Sep 17 00:00:00 2001
From: Tobias Fendin
Date: Tue, 26 Apr 2022 15:24:43 +0200
Subject: [PATCH 1/3] Document git standup -w option
---
bin/git-standup | 2 +-
man/git-standup.1 | 10 +++++++---
man/git-standup.html | 10 +++++++---
man/git-standup.md | 8 ++++++--
4 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/bin/git-standup b/bin/git-standup
index c32c921..4bc6387 100755
--- a/bin/git-standup
+++ b/bin/git-standup
@@ -5,7 +5,7 @@
usage() {
cat <] [-w ] [-d ] [-m ] [-g] [-h] [-f] [-B] [-n ] [-w |-d ] [-m ] [-g] [-h] [-f] [-B] [-n
SYNOPSIS
-git-standup [-a author] [-m depth] [-d days ago] [-D date format] [-g] [-L] [-f] [-B] [-n number of commits]
+
git-standup [-a author] [-w weekstart-weekend|-d days-ago] [-m depth] [-D date format] [-g] [-L] [-f] [-B] [-n number of commits]
git-standup -h
DESCRIPTION
@@ -99,10 +99,14 @@ Defaults to $(git config user.name).
Enable the inclusion of symbolic links in recursive directory search.
--d 1
+-d days-ago
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.
+
-D relative
The date format displayed in commit history. Defaults to "relative".
@@ -198,7 +202,7 @@ master
diff --git a/man/git-standup.md b/man/git-standup.md
index 8cc30fe..7d7bdac 100644
--- a/man/git-standup.md
+++ b/man/git-standup.md
@@ -3,7 +3,7 @@ git-standup(1) -- Recall the commit history
## SYNOPSIS
-`git-standup` [-a author] [-m depth] [-d days ago] [-D date format] [-g] [-L] [-f] [-B] [-n number of commits]
+`git-standup` [-a author] [-w |-d ] [-m depth] [-D date format] [-g] [-L] [-f] [-B] [-n number of commits]
`git-standup` -h
## DESCRIPTION
@@ -25,10 +25,14 @@ The depth of recursive directory search. Defaults to 1.
Enable the inclusion of symbolic links in recursive directory search.
--d 1
+-d days-ago
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.
+
-D relative
The date format displayed in commit history. Defaults to "relative".
From 5754b810478b045b542ca0ad3dc98dfeb685600e Mon Sep 17 00:00:00 2001
From: Tobias Fendin
Date: Thu, 28 Apr 2022 19:24:12 +0200
Subject: [PATCH 2/3] 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
From 055110dd35bef3644029c2892bf0738bfe3afedd Mon Sep 17 00:00:00 2001
From: Tobias Fendin
Date: Fri, 29 Apr 2022 11:08:51 +0200
Subject: [PATCH 3/3] Minor change to git standup -w documentation
---
man/git-standup.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/git-standup.md b/man/git-standup.md
index cc41604..7419aab 100644
--- a/man/git-standup.md
+++ b/man/git-standup.md
@@ -33,7 +33,7 @@ The start of commit history. Defaults to 1, means "1 days ago".
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.
+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