git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] add: add --chmod=+x / --chmod=-x options

From
Duy Nguyen <pclouds@gmail.com>
Date
Jun 8, 2016, 11:46 UTC
Message-ID
<CACsJy8DC_8LkZUCe=NY6wbg0+jTtwQTPE1zM1da9Vq8-PfyrsA@mail.gmail.com>
In-Reply-To
<20160531220818.GB46739@zoidberg>

On Wed, Jun 1, 2016 at 5:08 AM, Edward Thomson <ethomson@edwardthomson.com> wrote:

Show 5 quoted lines
> @@ -263,6 +265,7 @@ static struct option builtin_add_options[] = {
>         OPT_BOOL( 0 , "refresh", &refresh_only, N_("don't add, only refresh the index")),
>         OPT_BOOL( 0 , "ignore-errors", &ignore_add_errors, N_("just skip files which cannot be added because of errors")),
>         OPT_BOOL( 0 , "ignore-missing", &ignore_missing, N_("check if - even missing - files are ignored in dry run")),
> +       OPT_STRING( 0 , "chmod", &chmod_arg, N_("(+/-)x"), N_("override the executable bit of the listed files")),
If this is only about +/-x, would --[no-]executable be a better option name?
-- 
Duy
Previous: Junio C Hamano
Message 8 of 8 in “add: add --chmod=+x / --chmod=-x options”
  1. add: add --chmod=+x / --chmod=-x optionsEdward Thomson, May 31, 2016
  2. Junio C HamanoMay 31, 2016
  3. Johannes SchindelinJun 1, 2016
  4. Johannes SchindelinJun 1, 2016
  5. Junio C HamanoJun 1, 2016
  6. Edward ThomsonJun 7, 2016
  7. Junio C HamanoJun 8, 2016
  8. Duy NguyenJun 8, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.