Limit filename for format-patch
commitc06d2daa12f72f175e3569bbb2a5f25e5f134f5e
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 23 Feb 2007 22:27:58 +0000 (23 23:27 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 24 Feb 2007 08:55:56 +0000 (24 00:55 -0800)
treecf62c3295e7d9998f820719c7657da5633427df6
parentbdd69c2f64d303f99b0f530263c3c04d329c2227
Limit filename for format-patch

Badly formatted commits may have very long comments. This causes
git-format-patch to fail. To avoid that, truncate the filename
to a value we believe will always work.

Err out if the patch file cannot be created.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c