Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
project log [--limit=<max-commit-log-entries>] <project-name>
| logLimit registration projectName |
self getSubcommandOptsMixedLongShort: {#('limit' nil #'required')}.
at: 'limit'
ifPresent: [ :limit | logLimit := limit asNumber ]
ifAbsent: [ logLimit := 100 ].
projectName := subArguments at: 1.
registration := self projectRegistrationFor: projectName.
^ self projectCommitLog: registration logLimit: logLimit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment