git: Update from 2.16.3 to 2.17.0
[termux-packages] / packages / git / help.c.patch
CommitLineData
69685781
FF
1diff -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?");
3028184a 9+ "able to execute it. Maybe you need to 'pkg install perl'?");
69685781
FF
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) &&