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

Re: [PATCH 1/3] Add an optional <mode> argument to commit/status -u|--untracked-files option

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 10, 2008, 06:23 UTC
Message-ID
<7v63sherlb.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<484CD3A7.8090303@trolltech.com>
Marius Storm-Olsen <marius@trolltech.com> writes:
> Ops, obviously it should have been s@\(int\)@(intptr_t)@. Sorry about
> that, I'll resend the patch series.
Requeued.
Show 5 quoted lines
> (The option struct in parse_options.h uses intptr_t for the default
> value of an option, thus a normal const char * would make the compiler
> complain (verified with both Windows MinGW 3.4.5 and Linux GCC 4.1.2))
>
> BTW, which compiler version are you using?
    gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

but with -Wold-style-definition -Werror -std=c99 -Wno-pointer-to-int-cast -Wdeclaration-after-statement etc.

Previous: Marius Storm-Olsen
Message 7 of 7 in “Add an optional <mode> argument to commit/status -u|--untracked-files option”
  1. 1/3 Add an optional <mode> argument to commit/status -u|--untracked-files optionMarius Storm-Olsen, Jun 5, 2008
  2. 2/3 Add argument 'no' commit/status option -u|--untracked-filesMarius Storm-Olsen, Jun 5, 2008
  3. 3/3 Add configuration option for default untracked files modeMarius Storm-Olsen, Jun 5, 2008
  4. Junio C HamanoJun 7, 2008
  5. Marius Storm-OlsenJun 9, 2008
  6. 1/3 Add an optional <mode> argument to commit/status -u|--untracked-files optionMarius Storm-Olsen, Jun 5, 2008
  7. Junio C HamanoJun 10, 2008

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.