Detect description in quilt patches
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Fri, 16 Sep 2005 19:35:25 +0000 (21:35 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sat, 17 Sep 2005 08:10:44 +0000 (09:10 +0100)
commitb2a0aaa81c83365c68a0e709b8f884ba320e79f2
tree064de7b49195349b8d2eb74ba211eb89a9dd6563
parente190e1a6c056b96971229940ff0bb2aef3350c0c
Detect description in quilt patches

From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

The current logic imports the whole quilt patch as description - the changes
themselves are correctly applied, luckily, but the description must be fixed up
by hand.
So, detect "Index: " lines as patch start. I've heard rumors that also
Subversion generates this format, so we become compatible with it, too.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
stgit/commands/files.py
stgit/commands/imprt.py