|
@@ -24,7 +24,7 @@
|
|
# base for the user's branch. We thus need to figure out a common
|
|
# base for the user's branch. We thus need to figure out a common
|
|
# ancestor between the user's branch and current git master.
|
|
# ancestor between the user's branch and current git master.
|
|
subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
|
|
subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
|
|
-subprocess.check_call(["git", "fetch", "check-patch", "master"])
|
|
|
|
|
|
+subprocess.check_call(["git", "fetch", "--refetch", "check-patch", "master"])
|
|
|
|
|
|
ancestor = subprocess.check_output(["git", "merge-base",
|
|
ancestor = subprocess.check_output(["git", "merge-base",
|
|
"check-patch/master", "HEAD"],
|
|
"check-patch/master", "HEAD"],
|