git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <bebarino@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>
Subject: [PATCH 0/4] Add OPT_FILENAME to parse-opts
Date: Sat, 23 May 2009 11:53:09 -0700	[thread overview]
Message-ID: <1243104793-3254-1-git-send-email-bebarino@gmail.com> (raw)

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

             reply	other threads:[~2009-05-23 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 18:53 Stephen Boyd [this message]
2009-05-23 18:53 ` [PATCH 1/4] commit: -F overrides -t Stephen Boyd
2009-05-23 18:53   ` [PATCH 2/4] apply, fmt-merge-msg: use relative filenames Stephen Boyd
2009-05-23 18:53     ` [PATCH 3/4] parse-opts: prepare for OPT_FILENAME Stephen Boyd
2009-05-23 18:53       ` [PATCH 4/4] parse-opts: add OPT_FILENAME and transition builtins Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243104793-3254-1-git-send-email-bebarino@gmail.com \
    --to=bebarino@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).