File: git-contrib

package info (click to toggle)
git-extras 6.1.0-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,720 kB
  • sloc: sh: 3,480; makefile: 126
file content (7 lines) | stat: -rwxr-xr-x 124 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/usr/bin/env bash

user="$*"

test -z "$user" && echo "user name required." 1>&2 && exit 1

git shortlog --author="$user"