[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] getenv/setenv/unsetenv
- To: Florian Bruhin <me _at_ the _minus_ compiler _dot_ org>
- Subject: Re: [PATCH] getenv/setenv/unsetenv
- From: Thorsten Wißmann <re06huxa _at_ cip _dot_ cs _dot_ fau _dot_ de>
- Date: Mon, 5 Nov 2012 17:55:35 +0100
On Mon, Nov 05, 2012 at 05:34:31PM +0100, Florian Bruhin wrote:
> * Florian Bruhin <me _at_ the _minus_ compiler _dot_ org> [2012-11-05 11:52:42 +0100]:
> > As requested by maxfragg. Simply calls {get,set,unset}env(3).
>
> As discussed in IRC:
> +int setenv_command(int argc, char** argv) {
> + if (argc < 3) {
> + return HERBST_INVALID_ARGUMENT;
> + }
> + if (setenv(argv[1], argv[2], 1) != 0) {
> + return HERBST_INVALID_ARGUMENT;
> + }
> + return 0;
> +}
^
|
I removed that space and merged it as:
a9dbf7e New commands: getenv/setenv/unsetenv
Maybe you should tell git to colorize the diff output of git diff and
git show â which also marks trailing whitespaces red â by setting:
git config color.ui auto
Thorsten