Skip to content

Commit 5790019

Browse files
committed
git-gui (MinGW): make use of MSys2's msgfmt
When Git for Windows was still based on MSys1, we had no gettext, ergo no msgfmt, either. Therefore, we introduced a small and simple Tcl script to perform the same task. However, with MSys2, we no longer need that because we have a proper msgfmt executable. Plus, the po2msg.sh script somehow manages to hang when run in parallel. Two reasons to use real msgfmt.exe instead. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0160e8e commit 5790019

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

git-gui/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ ifeq ($(uname_S),Darwin)
161161
endif
162162
endif
163163
ifneq (,$(findstring MINGW,$(uname_S)))
164+
ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
164165
NO_MSGFMT=1
166+
endif
165167
GITGUI_WINDOWS_WRAPPER := YesPlease
166168
GITGUI_RELATIVE := 1
167169
endif

0 commit comments

Comments
 (0)