Revision f936c9b39339983a3cc270803fb9bc0d621da553 authored by Junio C Hamano on 22 March 2018, 21:24:10 UTC, committed by Junio C Hamano on 22 March 2018, 21:24:11 UTC
Assorted fixes to "git daemon".

* jk/daemon-fixes:
  daemon: fix length computation in newline stripping
  t/lib-git-daemon: add network-protocol helpers
  daemon: handle NULs in extended attribute string
  daemon: fix off-by-one in logging extended attributes
  t/lib-git-daemon: record daemon log
  t5570: use ls-remote instead of clone for interp tests
2 parent s b0e0fc2 + ed15e58
Raw File
git-log.sh
#!/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}
back to top