]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-p4.py
The sixth batch
[thirdparty/git.git] / git-p4.py
index d551efb0dd11f9caccff277594e2cb628e719e77..ca79dc09004feddbaec9c7521e5013bc8de3d586 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -2537,11 +2537,12 @@ class P4Submit(Command, P4UserMap):
                 ok = self.applyCommit(commit)
             if ok:
                 applied.append(commit)
-            else:
-                if self.prepare_p4_only and i < last:
-                    print("Processing only the first commit due to option" \
-                          " --prepare-p4-only")
+                if self.prepare_p4_only:
+                    if i < last:
+                        print("Processing only the first commit due to option" \
+                                " --prepare-p4-only")
                     break
+            else:
                 if i < last:
                     # prompt for what to do, or use the option/variable
                     if self.conflict_behavior == "ask":