зеркало из https://github.com/microsoft/git.git
Retire git-log.sh (take #4)
Noticed by Johannes. We do not install it anymore, but still have been shipping the source, which was crazy. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
5cf7e21fbc
Коммит
e3a125a94d
15
git-log.sh
15
git-log.sh
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Copyright (c) 2005 Linus Torvalds
|
|
||||||
#
|
|
||||||
|
|
||||||
USAGE='[--max-count=<n>] [<since>..<limit>] [--pretty=<format>] [git-rev-list options]'
|
|
||||||
SUBDIRECTORY_OK='Yes'
|
|
||||||
. git-sh-setup
|
|
||||||
|
|
||||||
revs=$(git-rev-parse --revs-only --no-flags --default HEAD "$@") || exit
|
|
||||||
[ "$revs" ] || {
|
|
||||||
die "No HEAD ref"
|
|
||||||
}
|
|
||||||
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") |
|
|
||||||
LESS=-S ${PAGER:-less}
|
|
Загрузка…
Ссылка в новой задаче