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

[PATCH 0/4] Add OPT_FILENAME to parse-opts

From
Stephen Boyd <bebarino@gmail.com>
Date
May 23, 2009, 18:53 UTC
Message-ID
<1243104793-3254-1-git-send-email-bebarino@gmail.com>

OPT_FILENAME is used to prefix filenames given on the command line, so that they are relative to the current working directory. For a more in-depth description see the fourth patch.

This series is really two parts, two bug fixes and the introduction of OPT_FILNAME, but they're all related to one commit dbd0f5c (Files given on the command line are relative to $cwd, 2008-08-06).

It touches a lot of files, but that's mostly because of patch three.

Stephen Boyd (4):
  commit: -F overrides -t
  apply, fmt-merge-msg: use relative filenames
  parse-opts: prepare for OPT_FILENAME
  parse-opts: add OPT_FILENAME and transition builtins
 Documentation/technical/api-parse-options.txt |    9 ++++-
 archive.c                                     |    2 +-
 builtin-add.c                                 |    2 +-
 builtin-apply.c                               |    5 ++-
 builtin-archive.c                             |    3 +-
 builtin-bisect--helper.c                      |    3 +-
 builtin-blame.c                               |    2 +-
 builtin-branch.c                              |    3 +-
 builtin-cat-file.c                            |    2 +-
 builtin-check-attr.c                          |    4 +-
 builtin-checkout-index.c                      |    2 +-
 builtin-checkout.c                            |    2 +-
 builtin-clean.c                               |    3 +-
 builtin-clone.c                               |    2 +-
 builtin-commit.c                              |    9 ++---
 builtin-config.c                              |    3 +-
 builtin-count-objects.c                       |    2 +-
 builtin-describe.c                            |    2 +-
 builtin-fast-export.c                         |    2 +-
 builtin-fetch.c                               |    2 +-
 builtin-fmt-merge-msg.c                       |    5 ++-
 builtin-for-each-ref.c                        |    2 +-
 builtin-fsck.c                                |    2 +-
 builtin-gc.c                                  |    3 +-
 builtin-grep.c                                |    2 +-
 builtin-help.c                                |    2 +-
 builtin-ls-files.c                            |    2 +-
 builtin-merge-base.c                          |    2 +-
 builtin-merge-file.c                          |    2 +-
 builtin-merge.c                               |    4 +-
 builtin-mv.c                                  |    3 +-
 builtin-name-rev.c                            |    2 +-
 builtin-pack-refs.c                           |    2 +-
 builtin-prune.c                               |    2 +-
 builtin-push.c                                |    2 +-
 builtin-remote.c                              |   16 +++++---
 builtin-reset.c                               |    2 +-
 builtin-rev-parse.c                           |    4 +-
 builtin-revert.c                              |    2 +-
 builtin-rm.c                                  |    3 +-
 builtin-shortlog.c                            |    2 +-
 builtin-symbolic-ref.c                        |    3 +-
 builtin-tag.c                                 |    5 +--
 builtin-update-ref.c                          |    3 +-
 hash-object.c                                 |    3 +-
 parse-options.c                               |   47 ++++++++++++++++--------
 parse-options.h                               |   11 ++++--
 t/t0040-parse-options.sh                      |   19 +++++++++-
 t/t4131-apply-fake-ancestor.sh                |   42 ++++++++++++++++++++++
 t/t6200-fmt-merge-msg.sh                      |   32 +++++++++++++++++
 t/t7500-commit.sh                             |   10 +++++
 test-parse-options.c                          |    6 +++-
 52 files changed, 226 insertions(+), 85 deletions(-)
 create mode 100755 t/t4131-apply-fake-ancestor.sh
Next: Stephen Boyd
Message 1 of 5 in “Add OPT_FILENAME to parse-opts”
  1. 0/4 Add OPT_FILENAME to parse-optsStephen Boyd, May 23, 2009
  2. 1/4 commit: -F overrides -tStephen Boyd, May 23, 2009
  3. 2/4 apply, fmt-merge-msg: use relative filenamesStephen Boyd, May 23, 2009
  4. 3/4 parse-opts: prepare for OPT_FILENAMEStephen Boyd, May 23, 2009
  5. 4/4 parse-opts: add OPT_FILENAME and transition builtinsStephen Boyd, May 23, 2009

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.