Please sign in to comment.
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 <email@example.com>
- Loading branch information...
Showing with 13 additions and 2 deletions.