Add a test for rebase when a change was picked upstream
[git/jnareb-git/bp-gitweb.git] / git-log.sh
blobc2ea71cf14a6a96c2f9124fb57425e682f735995
1 #!/bin/sh
3 # Copyright (c) 2005 Linus Torvalds
6 USAGE='[--max-count=<n>] [<since>..<limit>] [--pretty=<format>] [git-rev-list options]'
7 SUBDIRECTORY_OK='Yes'
8 . git-sh-setup
10 revs=$(git-rev-parse --revs-only --no-flags --default HEAD "$@") || exit
11 [ "$revs" ] || {
12 die "No HEAD ref"
14 git-rev-list --pretty $(git-rev-parse --default HEAD "$@") |
15 LESS=-S ${PAGER:-less}