New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subtree: ignore merge.ff setting #1139
Conversation
/submit |
Submitted as pull.1139.git.git.1636902454370.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
|
User |
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
Thanks for your reviews Ævar and Junio. I'll update the patch taking your comments into account. |
/preview |
Error: Could not determine public email of koutcher |
/preview |
Preview email sent as pull.1139.v2.git.git.1636919606686.gitgitgadget@gmail.com |
When `merge.ff` is set to `only` in .gitconfig, `git subtree pull` will fail with error `fatal: Not possible to fast-forward, aborting.`, but the command does want to make merges in these places. Add `--no-ff` argument to `git merge` to enforce this behaviour. Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Reviewed-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Thomas Koutcher <thomas.koutcher@online.fr>
b03749f
to
765fea3
Compare
/preview |
Preview email sent as pull.1139.v2.git.git.1636925106468.gitgitgadget@gmail.com |
/submit |
Submitted as pull.1139.v2.git.git.1636926322423.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
Please note that the mentioned reviewers won't see this reply unless you send it to the Git mailing list as per https://github.com/gitgitgadget/gitgitgadget/wiki/ReplyToThis. |
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
On the Git mailing list, Thomas Koutcher wrote (reply to this):
|
User |
On the Git mailing list, Johannes Altmanninger wrote (reply to this):
|
User |
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
On the Git mailing list, Johannes Altmanninger wrote (reply to this):
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This patch series was integrated into seen via 95d2499. |
This branch is now known as |
This patch series was integrated into seen via 2169875. |
This patch series was integrated into seen via 396116c. |
There was a status update in the "New Topics" section about the branch When "git subtree" wants to create a merge, it used "git merge" and let it be affected by end-user's "merge.ff" configuration, which has been corrected. Will merge to 'next'. source: <20220201172601.262718-1-aclopte@gmail.com> |
This patch series was integrated into seen via f6d4048. |
This patch series was integrated into seen via 718e72f. |
This patch series was integrated into seen via 8584493. |
This patch series was integrated into seen via dac6550. |
This patch series was integrated into seen via 9bc5bd4. |
This patch series was integrated into next via 8494500. |
There was a status update in the "Cooking" section about the branch When "git subtree" wants to create a merge, it used "git merge" and let it be affected by end-user's "merge.ff" configuration, which has been corrected. Will merge to 'master'. source: <20220201172601.262718-1-aclopte@gmail.com> |
This patch series was integrated into seen via 08dfed4. |
This patch series was integrated into seen via bb08780. |
This patch series was integrated into seen via 738109b. |
There was a status update in the "Cooking" section about the branch When "git subtree" wants to create a merge, it used "git merge" and let it be affected by end-user's "merge.ff" configuration, which has been corrected. Will merge to 'master'. source: <20220201172601.262718-1-aclopte@gmail.com> |
This patch series was integrated into seen via 9109620. |
This patch series was integrated into seen via 812f72d. |
This patch series was integrated into seen via 0ac270c. |
This patch series was integrated into master via 0ac270c. |
This patch series was integrated into next via 0ac270c. |
Closed via 0ac270c. |
When
merge.ff
is set toonly
in .gitconfig,git subtree pull
willfail with error
fatal: Not possible to fast-forward, aborting.
. Thisfix ignores the
merge.ff
setting when usinggit merge
within subtree.Signed-off-by: Thomas Koutcher thomas.koutcher@online.fr
cc: Ævar Arnfjörð Bjarmason avarab@gmail.com
cc: Thomas Koutcher thomas.koutcher@online.fr
cc: Johannes Altmanninger aclopte@gmail.com