about summary refs log tree commit diff
path: root/tests/t0107-snapshot.sh
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-08-26 20:38:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-08-26 21:01:11 +0200
commit370535fc70e87e465e0d6b39420b0b6a72056b37 (patch)
tree9d39703b4052bf9521dcf6e4335830899d5411ea /tests/t0107-snapshot.sh
parentgit: update to 1.8.4 (diff)
downloadcgit-pink-370535fc70e87e465e0d6b39420b0b6a72056b37.tar.gz
cgit-pink-370535fc70e87e465e0d6b39420b0b6a72056b37.zip
t0108: Avoid unnecessary fork()
Use `git rev-list --max-parents=0 HEAD` instead of `git rev-list HEAD |
tail -1` to get the root commit. This works since Git 1.7.4.2.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'tests/t0107-snapshot.sh')
0 files changed, 0 insertions, 0 deletions
mit/bin/bin.7?id=23435dd4ba517744a95c7e981a6cac82922136d4&follow=1'>Rewrite bin.7 and render to plaintext READMEJune McEnroe 2018-09-11Add "blank" lines to man pagesJune McEnroe 2018-09-10Add mdoc syntax fileJune McEnroe 2018-09-08Fix Nm usage in multi-name man pagesJune McEnroe 2018-09-08Put real dates on man pagesJune McEnroe 2018-09-08Replace gfx README with REAMDE.7June McEnroe 2018-09-08Link gfx man pages in ~/.localJune McEnroe