aboutsummaryrefslogtreecommitdiff
path: root/git-gui/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-11 13:27:06 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-11 13:27:06 -0700
commit40dc8d3dcfbdac4dcf03468e8c780c1b156b768d (patch)
tree99e1113a8f441ddfbc55cae51dc87658412db577 /git-gui/Makefile
parent6d2b8a390c2519bf25cd73184c7c6e8baec4208a (diff)
parent90dbf226ba3fae0d932ae4e42d8d3122a47766bc (diff)
downloadgit-40dc8d3dcfbdac4dcf03468e8c780c1b156b768d.tar.xz
Merge branch 'js/git-gui-msgfmt-on-windows'
Because recent Git for Windows do come with a real msgfmt, the build procedure for git-gui has been updated to use it instead of a hand-rolled substitute. * js/git-gui-msgfmt-on-windows: git-gui (MinGW): make use of MSys2's msgfmt git gui: allow for a long recentrepo list git gui: de-dup selected repo from recentrepo history git gui: cope with duplicates in _get_recentrepo git-gui: remove duplicate entries from .gitconfig's gui.recentrepo
Diffstat (limited to 'git-gui/Makefile')
-rw-r--r--git-gui/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-gui/Makefile b/git-gui/Makefile
index fe30be38dc..918a8de369 100644
--- a/git-gui/Makefile
+++ b/git-gui/Makefile
@@ -161,7 +161,9 @@ ifeq ($(uname_S),Darwin)
endif
endif
ifneq (,$(findstring MINGW,$(uname_S)))
+ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
NO_MSGFMT=1
+endif
GITGUI_WINDOWS_WRAPPER := YesPlease
GITGUI_RELATIVE := 1
endif