read_git_file() fails when .git file ends with new line #213

Closed
zougloub opened this Issue Dec 8, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@zougloub

zougloub commented Dec 8, 2013

It is possible that .git files contain line returns, and in this case, git-cola currently fails;

Updating git.py's read_git_file() function to add .rstrip() would help.

@davvid davvid closed this in 1d2d7e1 Dec 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment