From: Johannes Sixt Date: Tue, 22 Jul 2025 16:04:55 +0000 (+0200) Subject: Merge branch 'ti/support-sha256' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf9d3c1ccd216ab0c1ae179e56463ede2e27a4a8;p=thirdparty%2Fgit.git Merge branch 'ti/support-sha256' * ti/support-sha256: gitk: Add support of SHA256 repositories --- cf9d3c1ccd216ab0c1ae179e56463ede2e27a4a8 diff --cc gitk index 0df4eee733,64a074ab02..fa0d9a94e5 --- a/gitk +++ b/gitk @@@ -9655,10 -9639,10 +9673,10 @@@ proc copyreference {} set format "%h (\"%s\", %ad)" set cmd [list git show -s --pretty=format:$format --date=short] - if {$autosellen < 40} { + if {$autosellen < $hashlength} { lappend cmd --abbrev=$autosellen } - set reference [eval exec $cmd $rowmenuid] + set reference [safe_exec [concat $cmd $rowmenuid]] clipboard clear clipboard append $reference