Skip to content

Conversation

massimopaganigh
Copy link
Contributor

  • Implemented logic in Clone.cs to set ParentFolder based on the active workspace's DefaultCloneDir if available, falling back to the global GitDefaultCloneDir.
  • Added DefaultCloneDir property to Workspace.cs to store the default clone directory for each workspace.
  • Updated ConfigureWorkspace.axaml to include a TextBox and Button for setting the DefaultCloneDir in the UI.
  • Implemented folder selection functionality in ConfigureWorkspace.axaml.cs to allow users to choose a directory for cloning.
  • This closes issue Separate Default Clone Dir per workspace #1145

In this case we will use the global clone dir:
image

In this case we will use the workspace-specific clone dir:
image

mpagani and others added 8 commits April 11, 2025 17:32
… display

- Updated `Diff.cs` to streamline whitespace handling in diff arguments.
- Enhanced `DiffContext.cs` to check for EOL changes when old and new hashes differ, creating a text diff if necessary.
- Added support for showing end-of-line symbols in `TextDiffView.axaml.cs` options.
…hitespace messages

- Modified the ignore whitespace text in multiple language files to specify that EOF changes are also ignored.
- Ensured consistency across all localization files for the patch application feature.
…noreWS and fixed typo in Text.Diff.IgnoreWhitespace (EOF => EOL)
- Implemented logic in Clone.cs to set ParentFolder based on the active workspace's DefaultCloneDir if available, falling back to the global GitDefaultCloneDir.
- Added DefaultCloneDir property to Workspace.cs to store the default clone directory for each workspace.
- Updated ConfigureWorkspace.axaml to include a TextBox and Button for setting the DefaultCloneDir in the UI.
- Implemented folder selection functionality in ConfigureWorkspace.axaml.cs to allow users to choose a directory for cloning.
- This closes issue #1145
@massimopaganigh massimopaganigh changed the base branch from master to develop April 14, 2025 08:36
@love-linger love-linger self-assigned this Apr 14, 2025
@love-linger love-linger added the enhancement New feature or request label Apr 14, 2025
@love-linger love-linger merged commit f14a666 into sourcegit-scm:develop Apr 14, 2025
love-linger added a commit that referenced this pull request Apr 14, 2025
- code style in `Clone` constructor
- re-design workspace configuration dialog

Signed-off-by: leo <longshuang@msn.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants