Skip to content
Commit c24c720b authored by Shawn Pearce's avatar Shawn Pearce
Browse files

Fix error parsing a non-existant configuration file



If a file (e.g. ~/.gitconfig) does not exist, we get None
here rather than a string.  NoneType lacks rstrip() so we
cannot strip it.

Signed-off-by: default avatarShawn O. Pearce <sop@google.com>
parent 2d1a3968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment