For testing it is useful to be able to set the current directory used for git operations, as well as the git-repo directory. Update some of the functions to support this.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/u_boot_pylib/command.py | 5 ++-- tools/u_boot_pylib/gitutil.py | 49 +++++++++++++++++++++++++---------- 2 files changed, 38 insertions(+), 16 deletions(-) Applied to sjg/master, thanks!