Add gsettings option to automatically merge directories during conflicts - #3818
Open
bones99-hub wants to merge 1 commit into
Open
Add gsettings option to automatically merge directories during conflicts#3818bones99-hub wants to merge 1 commit into
bones99-hub wants to merge 1 commit into
Conversation
Contributor
|
Surely, it must be time for some nemo documentation of gsettings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this patch do?
This patch adds a gsettings option that automatically chooses the "Merge" action during file conflicts involving only directories. It does not have a corresponding UI element in Preferences.
What problem does this solve?
Currently, when a copied or moved directory already exists, Nemo always prompts the user to choose how to resolve the conflict. Users who routinely merge directory trees currently need to confirm the "Merge" action every time a directory conflict occurs. This setting allows those users to opt into automatically selecting the merge action.
Does it change existing behavior?
No. The default remains exactly the same. Only users who explicitly enable the setting see different behavior.
Why a gsettings key?
A gsettings option was chosen so that existing behavior remains unchanged while allowing users who prefer automatic directory merging to opt in.
Why no UI element?
This patch intentionally adds only the underlying gsettings key. Whether it should be exposed through the Preferences dialog is a separate UI decision, so this change keeps the implementation focused and leaves that discussion open.