]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'master' of https://github.com/j6t/gitk
authorJunio C Hamano <gitster@pobox.com>
Wed, 11 Feb 2026 22:49:53 +0000 (14:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Feb 2026 22:49:53 +0000 (14:49 -0800)
* 'master' of https://github.com/j6t/gitk:
  gitk: fix msgfmt being required
  gitk: fix highlighted remote prefix of branches with directories

1  2 
gitk-git/gitk
gitk-git/meson.build

diff --cc gitk-git/gitk
Simple merge
index ca3c0cec5832478594d9e0cc07f5f044e3a920f3,0000000000000000000000000000000000000000..aecc068d30ccc04c8b91aa7b820be116fc219eda
mode 100644,000000..100644
--- /dev/null
@@@ -1,30 -1,0 +1,30 @@@
- if find_program('msgfmt').found()
 +project('gitk')
 +
 +shell = find_program('sh')
 +wish = find_program('wish')
 +
 +# Verify that dependencies of "generate-tcl.sh" are satisfied.
 +foreach dependency : [ 'chmod', 'mv', 'sed' ]
 +  find_program(dependency)
 +endforeach
 +
 +custom_target(
 +  command: [
 +    shell,
 +    meson.current_source_dir() / 'generate-tcl.sh',
 +    wish.full_path(),
 +    '@INPUT@',
 +    '@OUTPUT@',
 +  ],
 +  input: 'gitk',
 +  output: 'gitk',
 +  depend_files: [
 +    'generate-tcl.sh',
 +  ],
 +  install: true,
 +  install_dir: get_option('bindir'),
 +)
 +
++if find_program('msgfmt', required: false).found()
 +  subdir('po')
 +endif