mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-09-25 16:50:43 +08:00
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>