Support specifying the git-directory when creating and sending patches. This will allow better testing of this functionality, since we can use a test directory.
For count_commits_to_branch() support an end commit while we are here. Signed-off-by: Simon Glass <s...@chromium.org> --- tools/patman/patchstream.py | 7 ++++--- tools/patman/send.py | 16 +++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) Applied to sjg/master, thanks!