diff options
author | Shawn O. Pearce <sop@google.com> | 2009-06-12 09:10:07 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-06-12 09:10:07 -0700 |
commit | 2a3a81b51f1aee5a2da789d07d14cde61c96e8b7 (patch) | |
tree | 83c0e16790ce993efb6be4a8300a2943cecb83ba /subcmds/sync.py | |
parent | 7b4f43542a5dec931f73076d891f8509a69f98e8 (diff) | |
download | git-repo-2a3a81b51f1aee5a2da789d07d14cde61c96e8b7.tar.gz |
Ignore EOFError when reading a truncated pickle filev1.6.8.2
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>
Diffstat (limited to 'subcmds/sync.py')
0 files changed, 0 insertions, 0 deletions