gpgme: Update from 1.10.0 to 1.11.1
[termux-packages] / packages / git / help.c.patch
1 diff -u -r ../git-2.9.3/help.c ./help.c
2 --- ../git-2.9.3/help.c 2016-08-12 15:38:45.000000000 -0400
3 +++ ./help.c 2016-08-23 06:15:57.698156213 -0400
4 @@ -307,7 +307,7 @@
5
6 static const char bad_interpreter_advice[] =
7 N_("'%s' appears to be a git command, but we were not\n"
8 - "able to execute it. Maybe git-%s is broken?");
9 + "able to execute it. Maybe you need to 'pkg install perl'?");
10
11 const char *help_unknown_cmd(const char *cmd)
12 {
13 @@ -339,7 +339,7 @@
14 * it's a bad interpreter in the #! line.
15 */
16 if (!strcmp(candidate, cmd))
17 - die(_(bad_interpreter_advice), cmd, cmd);
18 + die(_(bad_interpreter_advice), cmd);
19
20 /* Does the candidate appear in common_cmds list? */
21 while (n < ARRAY_SIZE(common_cmds) &&