def get_local_diff(): if GlobalVars.on_windows: return git.diff_filenames("HEAD", "master") else: return git.diff("--name-only", "HEAD", "master")
def get_remote_diff(): git.fetch() if GlobalVars.on_windows: return git.diff_filenames("HEAD", "deploy@{u}") else: return git.diff("--name-only", "HEAD", "deploy@{u}")