Your comments

Chris,
I am following and I understand what your are saying.
My observation is that all 3 Windows show the currently active Repo in the title bar. I tried with 24.1 and the very early 25.1 preview.

Only If you have multiple Repos opened in Log or Working Tree Window there is no more idication which Repos are open.

Cheers

Daniel





I tried what Thomas sugested - I hope this helps.

From zsh you can open SmartGit via:

open -n /Applications/SmartGit.app

Ok - I am not a Mac expert - but I would use the same way that I use to do precommit logic in powershell but use "zsh" instead of powershell:

#!/bin/sh
echo 
exec powershell.exe -ExecutionPolicy RemoteSigned -File '.\pre-commit.ps1'
exit


https://blog.nimblepros.com/blogs/setting-up-pre-commit-git-hook-on-windows-with-powershell/

Hi

Just to clarify:

* we are not talking about an interactive pre-commit hook

* the problem is that the shell context that is used to run the precommit hook is not aware of the environment variables required to finish the task

Did I understand it?

Cheers

Daniel

Ok, as far as I understood you - we can do this using the Tools Menu and customizing the Tools.


For Repo Specific you would need a script with the same name e.g. "OpenInDev.sh" in every Repo and point the command to the Repo Path.

Check out his example opening a VisualStudio Project:
https://docs.syntevo.com/SmartGit/Latest/Manual/GUI/Preferences/Tools#open-top-most-visual-studio-solution-from-current-repository

The Trick is you use Powershell, SH, ... as the Command and then run a script from ${repositoryRootPath}\openindev.sh

What is the reason/use case why you are opening many repos in explorer in one go?

I took Marc's sample and put it on GitHub https://github.com/syntevosmartgit/textconv

Important you need to define it in the Repo (.gitattributes) and in your local git config.

I took the textconv.zip and added also a sample for office files and created a GitHub Repo.

https://github.com/syntevosmartgit/textconv

Can you explain a bit more? What is the type of scenario that would work better with it? 

Hi Martin,

In 24.1 in the Standard Window you will only see PR's where you are either Assignee or Reviewer - If I understand you

correctly you would also want it for Log Window?

Maybe you have a look in Standard Window (Window/Show Standard Window)

Best Regards

Daniel