guilt: Remove unnecessary reading of the status file
commita82c18ec91ed2fa545fa2d749b375accfccd65c8
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Mon, 23 Jul 2007 19:44:39 +0000 (23 15:44 -0400)
committerJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Mon, 23 Jul 2007 19:44:39 +0000 (23 15:44 -0400)
treec8e9b24873b46e4a47e1c8e323aed085b6a3fce4
parent6991a1a5a3868c552593d51066ed3d513db9d83e
guilt: Remove unnecessary reading of the status file

If the status file has zero length, it is impossible to have any patches
applied. So, let's just check if the file is empty (stat(2)) instead of a
more heavy-weight line counting (fork, exec, read).

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