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:
Shawn O. Pearce <sop@google.com>
Loading
Please register or sign in to comment