Add toggle for --first-parent option
What steps will reproduce the problem?
- When using Display branch revision number option (under Settings->Dialogs 1) the git command used is: git.exe rev-list --count --first-parent. This command is currently hardcoded.
What is the expected output? What do you see instead?
I'd like to be able to use the alternative revision number calculation - without using the --first-parent option.
What version of TortoiseGit and Git are you using? On what operating system?
2.4.0, Windows 10
Please provide any additional information below.
I have provided a fix by adding a "Use --first-parent" toggle on the Dialogs 1 screen beside "Display branch revision number". The toggle will default to TRUE for compatibility with current implementation.
Edited by Sven Strickroth