login
Header Space

 
 

Re: mismatch between doc and program in git commit -u (--untracked-files)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sitaram Chamarty <sitaramc@...>
Cc: <git@...>
Date: Thursday, May 8, 2008 - 12:13 pm

On Thu, May 08, 2008 at 03:40:14PM +0530, Sitaram Chamarty wrote:


Looks like it got lost in the C rewrite of git-commit:

  $ git grep untracked-files builtin-commit.c
  builtin-commit.c:       OPT_BOOLEAN(0, "untracked-files", &untracked_files, "show all untracked files"),

  $ git grep -B2 contrib/examples/git-commit.sh
  contrib/examples/git-commit.sh- -u|--u|--un|--unt|--untr|--untra|--untrac|--untrack|--untracke|\
  contrib/examples/git-commit.sh- --untracked|--untracked-|--untracked-f|--untracked-fi|--untracked-fil|\
  contrib/examples/git-commit.sh: --untracked-file|--untracked-files)

So it should probably be supported. The patch is a one-liner, but I'll
leave it as an exercise for you. :)

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: mismatch between doc and program in git commit -u (--unt..., Jeff King, (Thu May 8, 12:13 pm)
speck-geostationary