Skip to content

Commit 453e7b7

Browse files
committed
Merge branch 'master' of https://github.com/j6t/gitk
* 'master' of https://github.com/j6t/gitk: gitk: fix msgfmt being required gitk: fix highlighted remote prefix of branches with directories
2 parents 6fcee47 + ddae547 commit 453e7b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gitk-git/gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6841,7 +6841,7 @@ proc drawtags {id x xt y1} {
68416841
set xl [expr {$xl - $delta/2}]
68426842
$canv create polygon $x $yt $xr $yt $xr $yb $x $yb \
68436843
-width 1 -outline black -fill $col -tags tag.$id
6844-
if {[regexp {^(remotes/.*/|remotes/)} $tag match remoteprefix]} {
6844+
if {[regexp {^(remotes/[^/]*/|remotes/)} $tag match remoteprefix]} {
68456845
set rwid [font measure mainfont $remoteprefix]
68466846
set xi [expr {$x + 1}]
68476847
set yti [expr {$yt + 1}]

gitk-git/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ custom_target(
2525
install_dir: get_option('bindir'),
2626
)
2727

28-
if find_program('msgfmt').found()
28+
if find_program('msgfmt', required: false).found()
2929
subdir('po')
3030
endif

0 commit comments

Comments
 (0)