Skip to content

Conversation

massimopaganigh
Copy link
Contributor

  • Added functionality to send repository paths to an existing instance of the application using named pipes.
  • Introduced a new preference option to open repositories in a new tab instead of a new window.
  • Updated UI to include a checkbox for the new preference.
  • Enhanced the handling of IPC server lifecycle based on the new preference setting.
  • This closes issue Option to open new repositories via command line in the current instance #1184

mpagani and others added 11 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
- Added functionality to send repository paths to an existing instance of the application using named pipes.
- Introduced a new preference option to open repositories in a new tab instead of a new window.
- Updated UI to include a checkbox for the new preference.
- Enhanced the handling of IPC server lifecycle based on the new preference setting.
- This closes issue #1184
@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 09c0ede into sourcegit-scm:develop Apr 14, 2025
13 checks passed
love-linger added a commit that referenced this pull request Apr 14, 2025
- make `SourceGit` running in singleton mode
- `TrySendArgsToExistingInstance` should not be called before `BuildAvaloniaApp().StartWithClassicDesktopLifetime(args)` since we may want to launch `SourceGit` as a core editor.
- avoid `preference.json` to be saved by multiple instances.
- move IPC code to models.

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