guilt: Do not scan entire patch file when not necessary
commit8e66094b309d7da6153d78659af25d0951f5f84e
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Mon, 23 Jul 2007 19:41:05 +0000 (23 15:41 -0400)
committerJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Mon, 23 Jul 2007 19:41:05 +0000 (23 15:41 -0400)
tree5f8928388fa936a8b8381c44070aae9c3087e932
parentb9a81d690a4c9e1ecba81b5f7b8b1d5261fb2c00
guilt: Do not scan entire patch file when not necessary

There is no reason do_get_header and do_get_full_header should scan the
entire patch file when all they are interested in is the description header.
Abort execution of the awk & sed scripts when ^(diff|---) is hit.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
guilt