FileHistory: Add "Commit" column to show the short commit hash.
commit390df61ebd120d42f83ba3c7fbed4d16346257a5
authorKarl Robillard <wickedsmoke@users.sourceforge.net>
Sat, 6 Nov 2021 22:32:27 +0000 (6 18:32 -0400)
committerKarl Robillard <wickedsmoke@users.sourceforge.net>
Sun, 7 Nov 2021 17:09:12 +0000 (7 12:09 -0500)
treeb07631428c9b4bab877b930a986490320a9410fd
parent08f48a5fd3b4f1af14d0abf7bbc2af405aa9fc0d
FileHistory: Add "Commit" column to show the short commit hash.

The short hash string length is determined by "git rev-parse --short HEAD"
and this value is used by both the FileHistory model and lineEditSHA.

 - Optimize RevsView::updateLineEditSHA() to no longer execute Git.
src/FileHistory.cc
src/FileHistory.h
src/common.h
src/git.cpp
src/git.h
src/listview.cpp
src/revsview.cpp