Repository navigation
Conversation
|
There is an issue in commit 3ecbc700296e7bcb188ead5ad73a47d36f853501: |
3ecbc70 to
57a34af
Compare
|
/submit |
|
On the Git mailing list, Junio C Hamano wrote (reply to this): |
|
This branch is now known as |
|
This patch series was integrated into pu via 3d57095. |
|
This patch series was integrated into pu via f1a8421. |
|
This patch series was integrated into pu via 090e0d4. |
|
On the Git mailing list, Junio C Hamano wrote (reply to this): |
|
On 5/6/2020 12:11 AM, gitgitgadget-git[bot] wrote:
On the Git mailing list
***@***.***>,
Junio C Hamano wrote (reply to this
<https://github.com/gitgitgadget/gitgitgadget/wiki/ReplyToThis>):
|"Ben Keene via GitGitGadget" ***@***.***> writes: > From:
Ben Keene ***@***.***> > > When using git p4 submit with the
--prepare-p4-only option, the program > should prepare a single p4
changelist and notify the user that more > commits are pending and
then stop processing. > ... When merged to 'pu', this seems to break
builds/tests at Travis CI.|
|I'll look into it. Thanks for the heads up.
|
||
… |Compare a good run with this topic deliberately ejected from 'pu':
https://travis-ci.org/github/git/git/builds/683614214 and a bad one
with this topic kept in 'pu':
https://travis-ci.org/github/git/git/jobs/683604200 |
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#775 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFL267VVJSPGLVOXFYFC62LRQDPQFANCNFSM4MXDTY2A>.
|
As with previous PR comments: the Git mailing list does not see those. Please use the instructions in the "reply to this" link together with the link to the email you are responding to in order to reply to the original mail that only has been mirrored here. |
|
This patch series was integrated into pu via 0239d78. |
|
This patch series was integrated into pu via 31ff9f2. |
When using git p4 submit with the --prepare-p4-only option, the program should prepare a single p4 changelist and notify the user that more commits are pending and then stop processing. A bug has been introduced by the p4-changelist hook feature that causes the program to continue to try and process all pending changelists at the same time. The function applyCommit returns True when applying the commit was successful and the program should continue. However, when the optional flag --prepare-p4-only is set, the program should stop after the first application. Change the logic in the run method for P4Submit to check for the flag --prepare-p4-only after successfully completing the applyCommit method. Be aware - this change will fix the existing test error in t9807.23 for --prepare-p4-only. However there is insufficent coverage for this flag. If more than 1 commit is pending submission to P4, the method will properly prepare the P4 changelist, however it will still exit the application with an exitcode of 1. The current documentation does not define what the exit code should be in this condition. (See: https://git-scm.com/docs/git-p4#Documentation/git-p4.txt---prepare-p4-only) Signed-off-by: Ben Keene <seraphire@gmail.com>
57a34af to
a554a65
Compare
|
This patch series was integrated into pu via cb6c702. |
|
Found multiple candidates in gitster/git: Using the first one. |
|
This patch series was integrated into pu via 6b41945. |
|
Found multiple candidates in gitster/git: Using the first one. |
|
I'm not sure how there are two branches, but the code I posted Saturday with commit a554a65 is the code that passes the tests. The previous submission is the one that does not pass the tests. I see that I didn't /submit so I will do that now. |
|
/submit |
|
On the Git mailing list, Junio C Hamano wrote (reply to this): |
|
This branch is now known as |
|
This patch series was integrated into pu via a421d14. |
|
This patch series was integrated into pu via c13bd33. |
|
This patch series was integrated into pu via 52148d8. |
|
This patch series was integrated into pu via 0f026ca. |
|
This patch series was integrated into pu via c99e65b. |
|
On the Git mailing list, Luke Diamand wrote (reply to this): |
|
This patch series was integrated into pu via 07ea38e. |
|
This patch series was integrated into pu via bb69d07. |
|
This patch series was integrated into pu via 558b2cb. |
|
This patch series was integrated into pu via 39e168e. |
|
This patch series was integrated into pu via 928f614. |
|
This patch series was integrated into pu via 0eae031. |
|
This patch series was integrated into next via c1b4644. |
|
This patch series was integrated into pu via ef3403d. |
|
This patch series was integrated into pu via 51d2b95. |
|
This patch series was integrated into pu via 6a83942. |
|
Thank you! |
This comment has been minimized.
This comment has been minimized.
|
This patch series was integrated into pu via abed529. |
|
This patch series was integrated into pu via 1074caa. |
|
This patch series was integrated into pu via e5dec08. |
|
This patch series was integrated into pu via 7a8fec9. |
|
This patch series was integrated into next via 7a8fec9. |
|
This patch series was integrated into master via 7a8fec9. |
|
Closed via 7a8fec9. |
When using git p4 submit with the --prepare-p4-only option, the program
should prepare a single p4 changelist and notify the user that more
commits are pending and then stop processing.
A bug has been introduced by the p4-changelist hook feature that
causes the program to continue to try and process all pending
changelists at the same time.
The function applyCommit should return True when applying the commit
was successful and the program should continue. In the case of the
--prepare-p4-only flag, the function should return False, alerting the
caller that the program should not proceed with additional commits.
Change the return value from True to False in the applyCommit function
when git-p4 is executed with --prepare-p4-only flag.
Thanks for taking the time to contribute to Git! Please be advised that the
Git community does not use github.com for their contributions. Instead, we use
a mailing list (git@vger.kernel.org) for code submissions, code reviews, and
bug reports. Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
to conveniently send your Pull Requests commits to our mailing list.
Please read the "guidelines for contributing" linked above!