Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config options for length of commit hash displayed in commits view #3505

Merged
merged 2 commits into from Apr 28, 2024

Commits on Apr 27, 2024

  1. Add config option for length of commit hash displayed in commits view

    - Add config option `commitHashLength` to to pkg/config/user_config.go
    - Changed the hash display in pkg/gui/presentation/commits.go
    oliviaBahr authored and stefanhaller committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    a4354cc View commit details
    Browse the repository at this point in the history
  2. Refactor pkg/gui/presentation/commits.go slightly to be consistent

    Change `func displayCommit()` so all the individual strings are built first,
    then the whole thing `cols` is put together. Before, most strings were built
    prior to constructing `cols`, but a few were built inside the `cols`
    construction.
    stefanhaller committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    b63321a View commit details
    Browse the repository at this point in the history