calculate toplevel directory without git Since Debian source package is not versined in git, the code that calculates toplevel directory depends on sources being in a git source control system, this patch allows for tests to run without this dependency.
[PATCH] Don't strip trailing blank lines in patches When parsing patches, don't rstrip blank newlines in case it's a (slightly) malformed but a valid patch that strips the leading space in diffs.
Konstantin Ryabitsev <konstantin@linuxfoundation.org>