Code

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