repo 1.6.8.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBKMn54FlMNXpIPXGURAgPSAJ4oxDxkf3OUDqWaJaUE5pjmSHYTKQCcCzRn
0gByCvYwFqoTY8e1/c/jQ5M=
=4BEm
-----END PGP SIGNATURE-----
Ignore EOFError when reading a truncated pickle file

If the pickle config file is 0 bytes in length,  we may have
crashed (or been aborted) while writing the file out to disk.
Instead of crashing with a backtrace, just treat the file as
though it wasn't present and load off a `git config` fork.

Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed