Skip to content

Simple gawk script which allows to get aggregated per author statistics

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE-GPL.txt
LGPL-3.0
LICENSE-LGPL.txt
Notifications You must be signed in to change notification settings

makbeth/gitstatistics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description:

	This simple gawk script allows to aggregate results for 'git log --numstat' command. Script 
	outputs 4 basic statistics grouped by author. 

		1. Number of line insertions.
		2. Number of line deletions.
		3. Number of files changed.
		4. Number of commits.

	Examples:

		a) Statistics for all users and all commits in repository.

			git log --numstat | gawk -f ~/gitstatistics/stats.awk

		b) Statistics for last month of commits, for all users.

			git log --numstat --since="1 month ago" | gawk -f ~/gitstatistics/stats.awk

		c) Statistics for all commits of user 'apis72'.

			git log --numstat --author=apis72 | gawk -f ~/gitstatistics/stats.awk

		d) Example of generated output.

			Author: Alexey Pisanko <[email protected]>
			Insertions: 136
			Deletions: 0
			Files changed: 1
			Commits: 1

Additional Information:

	Copyright © 2010, Alexey Pisanko ([email protected]) All rights reserved.

	License: GPL 3/LGPL 3

	Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, 
	either express or implied. See the License for the specific language governing rights and limitations 
	under the License.


About

Simple gawk script which allows to get aggregated per author statistics

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE-GPL.txt
LGPL-3.0
LICENSE-LGPL.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Awk 100.0%