Skip to content

Commit ad8c77b

Browse files
authored
Merge pull request #890 from zhujian0805/master
adding a format for git-contrib
2 parents 171d069 + 8490a50 commit ad8c77b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-contrib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ user="$*"
44

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

7-
git shortlog --author="$user"
7+
git shortlog --format=format:"%h %s" --author="$user"

0 commit comments

Comments
 (0)