From: Lukas Fleischer Date: Mon, 26 Aug 2013 18:38:31 +0000 (+0200) Subject: t0108: Avoid unnecessary fork() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/370535fc70e87e465e0d6b39420b0b6a72056b37?hp=370535fc70e87e465e0d6b39420b0b6a72056b37 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 ---