From 3ce6fc16ef4670c535c6e35d48c7f980ff8a5532 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Sat, 26 May 2007 00:19:38 +0000 Subject: Handle single-line and empty commit subjects If commit object ends with \0 after subject line, then info->subject was not set. This commit fixes this and also sets subject to ** empty ** if it would otherwise be empty, so that there is something to click on. Signed-off-by: Lars Hjemli --- (limited to 'shared.c') -- cgit v0.9.0.2