From 233b3f0dd4d7bc595a5acc3349f6bcde998ff70a Mon Sep 17 00:00:00 2001 From: Tobias Fendin Date: Sat, 14 May 2022 15:17:58 +0200 Subject: [PATCH] #970 standup added -A flag for author date --- bin/git-standup | 11 ++++++++--- man/git-standup.1 | 10 +++++++--- man/git-standup.html | 10 +++++++--- man/git-standup.md | 6 +++++- 4 files changed, 27 insertions(+), 10 deletions(-) diff --git a/bin/git-standup b/bin/git-standup index d2f0ad4..6598e1c 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 ] [-D date-format] [-A] [-g] [-L] [-h] [-f] [-B] [-n

SYNOPSIS

-

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 [-a author] [-w weekstart-weekend|-d days-ago] [-m depth] [-D date format] [-A] [-g] [-L] [-f] [-B] [-n number of commits]
git-standup -h

DESCRIPTION

@@ -108,13 +108,17 @@ Defaults to $(git config user.name).

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. +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

The date format displayed in commit history. Defaults to "relative".

+

-A

+ +

Print the author date instead of the commit date.

+

-h

Display help message.

@@ -214,7 +218,7 @@ master
  1. -
  2. April 2022
  3. +
  4. May 2022
  5. git-standup(1)
diff --git a/man/git-standup.md b/man/git-standup.md index 5956b50..573cd18 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] [-w |-d ] [-m depth] [-D date format] [-g] [-L] [-f] [-B] [-n number of commits] +`git-standup` [-a author] [-w |-d ] [-m depth] [-D date format] [-A] [-g] [-L] [-f] [-B] [-n number of commits] `git-standup` -h ## DESCRIPTION @@ -40,6 +40,10 @@ I.e. calling `git standup -w -` on a Monday will include commits made on the las The date format displayed in commit history. Defaults to "relative". +-A + +Print the author date instead of the commit date. + -h Display help message.