[U-Boot] [PATCH v2] command.c: Enable auto tab for the editenv command

Enable the auto completion (with TAB) of the environment variable name after the editenv command.
Signed-off-by: Ralf Trübenbach ralf.truebenbach@men.de --- Changes from v1: Resend patch because of invalid patch format.
diff --git a/common/command.c b/common/command.c index 0c66b7a..67ad692 100644 --- a/common/command.c +++ b/common/command.c @@ -188,6 +188,9 @@
void install_auto_complete(void) { +#if defined(CONFIG_CMD_EDITENV) + install_auto_complete_handler("editenv", var_complete); +#endif install_auto_complete_handler("printenv", var_complete); install_auto_complete_handler("setenv", var_complete); #if defined(CONFIG_CMD_RUN)

Dear =?iso-8859-1?Q?Tr=FCbenbach_Ralf?=,
In message D0B748CCD5DF144CA5C56A9D860A3134F5CB33@men-exch1.intra.men.de you wrote:
Enable the auto completion (with TAB) of the environment variable name =
after the editenv command.
Signed-off-by: Ralf Tr=FCbenbach ralf.truebenbach@men.de
Changes from v1: Resend patch because of invalid patch format.
Sorry, but your patch does not apply against current mainline code:
Applying: command.c: Enable auto tab for the editenv command Using index info to reconstruct a base tree... error: patch failed: common/command.c:188 error: common/command.c: patch does not apply Did you hand edit your patch? It does not apply to blobs recorded in its index. Cannot fall back to three-way merge. Patch failed at 0001 command.c: Enable auto tab for the editenv command
It seems your mailer is messing with the white space (silently converting TABs to spaces or so?).
Best regards,
Wolfgang Denk
participants (2)
-
Trübenbach Ralf
-
Wolfgang Denk