bisect: Store first bad commit as comment in log file
commita7f8b8ac945b32d00086c6e3d2fe7b0d00924442
authorTorstein Hegge <hegge@resisty.net>
Sat, 13 Apr 2013 15:22:57 +0000 (13 17:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Apr 2013 16:05:42 +0000 (15 09:05 -0700)
tree7e75ac4689919aedc08f64789b3f2315f8b73cda
parent85e7e81ccfcec98972e341ab81b0109084b84906
bisect: Store first bad commit as comment in log file

When bisect successfully finds a single revision, the first bad commit
should be shown to human readers of 'git bisect log'.

This resolves the apparent disconnect between the bisection result and
the log when a bug reporter says "I know that the first bad commit is
$rev, as you can see from $(git bisect log)".

Signed-off-by: Torstein Hegge <hegge@resisty.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh
t/t6030-bisect-porcelain.sh