tibirna / qgit

Official git repository for QGit.
Other
174 stars 68 forks source link

Settings: Option to display short hash instead of full length hash #102

Closed nishanthkarthik closed 3 years ago

nishanthkarthik commented 4 years ago

Implements #101

Displaying short length hash instead of full length hash makes it easier to copy paste into a terminal.

Uses git rev-parse to shorten hashes

shortens the object name to a unique prefix with at least length characters. The minimum length is 4, the default is the effective value of the core.abbrev configuration variable