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", "origin/deploy") else: return git.diff("--name-only", "HEAD", "origin/deploy")