<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitk-git/Makefile, branch main</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2026-03-21T16:25:10Z</updated>
<entry>
<title>Merge branch 'master' of https://github.com/j6t/gitk</title>
<updated>2026-03-21T16:25:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-03-21T16:25:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b70a02dcc9add838175b4c4a07171f8ab6b9f7c0'/>
<id>urn:sha1:b70a02dcc9add838175b4c4a07171f8ab6b9f7c0</id>
<content type='text'>
* 'master' of https://github.com/j6t/gitk:
  gitk: l10n: make PO headers identify the Gitk project
  gitk: ignore generated POT file
  gitk: i18n: use "Gitk" as package name in POT file
  gitk: commit translation files without file information
  gitk: support link color in the Preferences dialog
  gitk: use config settings for head/tag colors
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/j6t/gitk</title>
<updated>2025-05-29T16:02:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-05-29T16:02:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6ab5693aa298f0e3034a1273cf4bf61c31b0e7f0'/>
<id>urn:sha1:6ab5693aa298f0e3034a1273cf4bf61c31b0e7f0</id>
<content type='text'>
* 'master' of https://github.com/j6t/gitk:
  gitk: do not hard-code color of search results in commit list
  gitk: place file name arguments after options in msgfmt call
  gitk: Legacy widgets doesn't have combobox
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/j6t/gitk</title>
<updated>2025-02-20T13:59:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-02-20T13:59:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b838bf1938926a7a900166136d995d86f8a00e24'/>
<id>urn:sha1:b838bf1938926a7a900166136d995d86f8a00e24</id>
<content type='text'>
* 'master' of https://github.com/j6t/gitk:
  gitk: introduce support for the Meson build system
  gitk: extract script to build executable
  gitk: make the "list references" default window width wider
  gitk: fix arrow keys in input fields with Tcl/Tk &gt;= 8.6
  gitk: Use an external icon file on Windows
  gitk: Unicode file name support
  gitk(Windows): avoid inadvertently calling executables in the worktree
</content>
</entry>
<entry>
<title>Makefile(s): avoid recipe prefix in conditional statements</title>
<updated>2024-04-08T21:42:32Z</updated>
<author>
<name>Taylor Blau</name>
<email>me@ttaylorr.com</email>
</author>
<published>2024-04-08T15:51:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=728b9ac0c3b93aaa4ea80280c591deb198051785'/>
<id>urn:sha1:728b9ac0c3b93aaa4ea80280c591deb198051785</id>
<content type='text'>
In GNU Make commit 07fcee35 ([SV 64815] Recipe lines cannot contain
conditional statements, 2023-05-22) and following, conditional
statements may no longer be preceded by a tab character (which Make
refers to as the recipe prefix).

There are a handful of spots in our various Makefile(s) which will break
in a future release of Make containing 07fcee35. For instance, trying to
compile the pre-image of this patch with the tip of make.git results in
the following:

    $ make -v | head -1 &amp;&amp; make
    GNU Make 4.4.90
    config.mak.uname:842: *** missing 'endif'.  Stop.

The kernel addressed this issue in 82175d1f9430 (kbuild: Replace tabs
with spaces when followed by conditionals, 2024-01-28). Address the
issues in Git's tree by applying the same strategy.

When a conditional word (ifeq, ifneq, ifdef, etc.) is preceded by one or
more tab characters, replace each tab character with 8 space characters
with the following:

    find . -type f -not -path './.git/*' -name Makefile -or -name '*.mak' |
      xargs perl -i -pe '
        s/(\t+)(ifn?eq|ifn?def|else|endif)/" " x (length($1) * 8) . $2/ge unless /\\$/
      '

The "unless /\\$/" removes any false-positives (like "\telse \"
appearing within a shell script as part of a recipe).

After doing so, Git compiles on newer versions of Make:

    $ make -v | head -1 &amp;&amp; make
    GNU Make 4.4.90
    GIT_VERSION = 2.44.0.414.gfac1dc44ca9
    [...]

    $ echo $?
    0

Reported-by: Dario Gjorgjevski &lt;dario.gjorgjevski@gmail.com&gt;
Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2017-01-18T18:27:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-18T18:27:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ffac48d093d4b518a0cc0e8bf1b7cb53e0c3d7a2'/>
<id>urn:sha1:ffac48d093d4b518a0cc0e8bf1b7cb53e0c3d7a2</id>
<content type='text'>
* 'master' of git://ozlabs.org/~paulus/gitk:
  gitk: Remove translated message from comments
  gitk: ru.po: Update Russian translation
  gitk: Update copyright notice to 2016
  gitk: Clear array 'commitinfo' on reload
  gitk: Remove closed file descriptors from $blobdifffd
  gitk: Turn off undo manager in the text widget
  gitk: Fix Japanese translation for "marked commit"
  gitk: Fix missing commits when using -S or -G
  gitk: Use explicit RGB green instead of "lime"
  gitk: Add Portuguese translation
  gitk: Makefile: create install bin directory
  gitk: Include commit title in branch dialog
  gitk: Allow checking out a remote branch
  gitk: Add a 'rename' option to the branch context menu
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2013-01-30T21:52:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-30T21:52:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9a6c84e6e9078b0ef4fd2c50b200e8552a28c6fa'/>
<id>urn:sha1:9a6c84e6e9078b0ef4fd2c50b200e8552a28c6fa</id>
<content type='text'>
* git://ozlabs.org/~paulus/gitk:
  gitk: Ignore gitk-wish buildproduct
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/gitk/gitk</title>
<updated>2008-05-15T04:27:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-05-15T04:27:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c7ea453618e41e05a06f05e3ab63d555d0ddd7d9'/>
<id>urn:sha1:c7ea453618e41e05a06f05e3ab63d555d0ddd7d9</id>
<content type='text'>
* git://git.kernel.org/pub/scm/gitk/gitk: (44 commits)
  gitk: Add a progress bar for checking out a head
  gitk: Show current row number and total number of rows
  gitk: Allow users to view diffs in external diff viewer
  gitk: Synchronize highlighting in file view for 'f' and 'b' commands
  gitk: Make updates go faster
  gitk: Disable "Reset %s branch to here" when on a detached head
  gitk: German translation again updated
  gitk: Update German translation
  gitk: Makefile/install: force permissions when installing files and dirs
  gitk: Initial Swedish translation.
  gitk: Spanish translation of gitk
  gitk: Fix handling of tree file list with special chars in names
  gitk: Reorganize processing of arguments for git log
  gitk: Fix problem with target row not being in scroll region
  gitk: Avoid a crash in selectline if commitinfo($id) isn't set
  gitk: Fix some corner cases in computing vrowmod and displayorder
  gitk: Correct a few strings and comments to say "git log"
  gitk: Don't filter view arguments through git rev-parse
  gitk: Fix problems with target row stuff
  gitk: Handle updating with path limiting better
  ...
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/gitk/gitk</title>
<updated>2008-03-15T00:49:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-03-15T00:49:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4698ef555a1706fe322a68a02a21fb1087940ac3'/>
<id>urn:sha1:4698ef555a1706fe322a68a02a21fb1087940ac3</id>
<content type='text'>
* git://git.kernel.org/pub/scm/gitk/gitk:
  gitk: initial Italian translation
  gitk: Default to using po2msg.sh if msgfmt doesn't grok --tcl, -l and -d
  gitk: Avoid Tcl error when switching views
  [PATCH] gitk: Don't show local changes when we there is no work tree
  [PATCH] gitk: Add horizontal scrollbar to the diff view
  [PATCH] gitk: make autoselect optional
  [PATCH] gitk: Mark another string for translation
  [PATCH] Add an --argscmd flag to get the list of refs to show
  gitk: Only restore window size from ~/.gitk, not position
</content>
</entry>
<entry>
<title>Merge ../gitk</title>
<updated>2008-01-11T08:51:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-01-11T08:51:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=887ad79865d862a0a3aef4b59957d7dd95d0507d'/>
<id>urn:sha1:887ad79865d862a0a3aef4b59957d7dd95d0507d</id>
<content type='text'>
* ../gitk:
  gitk: Update German translation.
  gitk: Fix typo in user message.
  gitk: Fix the Makefile to cope with systems lacking msgfmt
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/gitk/gitk</title>
<updated>2008-01-09T06:41:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-01-09T06:41:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f85fd3f0d1213a2b714fddc7a834817aceeca932'/>
<id>urn:sha1:f85fd3f0d1213a2b714fddc7a834817aceeca932</id>
<content type='text'>
* 'master' of git://git.kernel.org/pub/scm/gitk/gitk:
  [PATCH] gitk: use user-configured background in view definition dialog
  [PATCH] gitk: Update German translation
  [PATCH] gitk: Update and fix Makefile
  gitk: Restore some widget options whose defaults changed in Tk 8.5
  gitk: Recode de.po to UTF-8
  [PATCH] gitk i18n: Recode gitk from latin1 to utf8 so that the (c) copyright character is valid utf8.
  [PATCH] gitk i18n: More markup -- various options menus
  [PATCH] gitk i18n: Initial German translation
  [PATCH] gitk i18n: Markup several strings for translation
  [PATCH] gitk i18n: Import msgcat for message string translation; load translation catalogs
  [PATCH] gitk i18n: Add Makefile with rules for po file creation and installation
</content>
</entry>
</feed>
