Do not translate zero sha in log title
commit778fa54e05224445a007abdb0c95a7545cbe5cc6
authorMarco Costalba <mcostalba@gmail.com>
Sat, 13 Jun 2009 11:53:25 +0000 (13 12:53 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 13 Jun 2009 11:04:11 +0000 (13 13:04 +0200)
tree02f1279f10bf59ec6525cca36d065c1a95dd2222
parentd55f910afa99394bedd864539ac3ff356821f9c3
Do not translate zero sha in log title

In revision log message pane, in bottom left of main
view the sha-ish strings written in the message are,
if possible, transalted to the corresponding revision
title.

This is handy for user that looks at uman readable titles
instead of revision's hex numbers.

This patch teach the transaltion logic to ignore the zero sha
string (40 consecutive '0' chars) because it has normally a
special meaning and we want to keep that instead of transalting
in a non sense like "nothing to commit" or "working dir changes".

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/git.cpp