Skip to content

Commit ebec86f

Browse files
committed
Document output format
1 parent c6fca87 commit ebec86f

17 files changed

+34
-0
lines changed

tools/git/scripts/commits_per_hour

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of commits per hour.
4+
#
5+
# <hour> <num_commits>
46

57
# * `git log`
68
# - Show commit logs.

tools/git/scripts/commits_per_month

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of commits per month.
4+
#
5+
# <month> <year> <num_commits>
46

57
# * `git log`
68
# - Show commit logs.

tools/git/scripts/commits_per_weekday

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of commits per weekday.
4+
#
5+
# <weekday> <num_commits>
46

57
# * `git log`
68
# - Show commit logs.

tools/git/scripts/commits_per_year

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of commits per year.
4+
#
5+
# <year> <num_commits>
46

57
# * `git log`
68
# - Show commit logs.

tools/git/scripts/deletions_per_day

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of deletions per day.
4+
#
5+
# <month> <day> <year> <deletions>
46

57
# Determine root directory:
68
root="$(git rev-parse --show-toplevel)"

tools/git/scripts/deletions_per_hour

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of deletions per hour.
4+
#
5+
# <hour> <deletions>
46

57
# Determine root directory:
68
root="$(git rev-parse --show-toplevel)"

tools/git/scripts/deletions_per_month

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of deletions per month.
4+
#
5+
# <month> <year> <deletions>
46

57
# Determine root directory:
68
root="$(git rev-parse --show-toplevel)"

tools/git/scripts/deletions_per_weekday

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of deletions per weekday.
4+
#
5+
# <weekday> <deletions>
46

57
# Determine root directory:
68
root="$(git rev-parse --show-toplevel)"

tools/git/scripts/files_changed_per_day

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of changed files per day.
4+
#
5+
# <month> <day> <year> <files_changed>
46

57
# Determine root directory:
68
root="$(git rev-parse --show-toplevel)"

tools/git/scripts/files_changed_per_hour

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
#
33
# Prints the number of files changed per hour.
4+
#
5+
# <hour> <files_changed>
46

57
# Determine root directory:
68
root="$(git rev-parse --show-toplevel)"

0 commit comments

Comments
 (0)