File: git-commits-since

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 (6 lines) | stat: -rwxr-xr-x 148 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
#!/usr/bin/env bash

SINCE="last week"
test $# -ne 0 && SINCE=$@
echo "... commits since $SINCE" >&2
git log --pretty='%an - %s' --after="@{$SINCE}"