Browse Source

scripts: Add placeholders for OPTIONS_SPEC

--text follows this line--
These commands currently lack OPTIONS_SPEC; allow people to
easily list with "git grep 'OPTIONS_SPEC=$'" what they can help
improving.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 17 years ago
parent
commit
8f321a3925
  1. 1
      git-bisect.sh
  2. 1
      git-commit.sh
  3. 1
      git-filter-branch.sh
  4. 1
      git-lost-found.sh
  5. 1
      git-mergetool.sh
  6. 1
      git-pull.sh
  7. 1
      git-rebase--interactive.sh
  8. 1
      git-rebase.sh
  9. 1
      git-request-pull.sh
  10. 1
      git-stash.sh
  11. 1
      git-submodule.sh

1
git-bisect.sh

@ -22,6 +22,7 @@ git bisect log @@ -22,6 +22,7 @@ git bisect log
git bisect run <cmd>...
use <cmd>... to automatically bisect.'

OPTIONS_SPEC=
. git-sh-setup
require_work_tree


1
git-commit.sh

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@

USAGE='[-a | --interactive] [-s] [-v] [--no-verify] [-m <message> | -F <logfile> | (-C|-c) <commit> | --amend] [-u] [-e] [--author <author>] [--template <file>] [[-i | -o] <path>...]'
SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
. git-sh-setup
require_work_tree


1
git-filter-branch.sh

@ -92,6 +92,7 @@ USAGE="[--env-filter <command>] [--tree-filter <command>] \ @@ -92,6 +92,7 @@ USAGE="[--env-filter <command>] [--tree-filter <command>] \
[--original <namespace>] [-d <directory>] [-f | --force] \
[<rev-list options>...]"

OPTIONS_SPEC=
. git-sh-setup

git diff-files --quiet &&

1
git-lost-found.sh

@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@

USAGE=''
SUBDIRECTORY_OK='Yes'
OPTIONS_SPEC=
. git-sh-setup

if [ "$#" != "0" ]

1
git-mergetool.sh

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@

USAGE='[--tool=tool] [file to merge] ...'
SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
. git-sh-setup
require_work_tree
prefix=$(git rev-parse --show-prefix)

1
git-pull.sh

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
USAGE='[-n | --no-summary] [--[no-]commit] [--[no-]squash] [--[no-]ff] [-s strategy]... [<fetch-options>] <repo> <head>...'
LONG_USAGE='Fetch one or more remote refs and merge it/them into the current HEAD.'
SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
. git-sh-setup
set_reflog_action "pull $*"
require_work_tree

1
git-rebase--interactive.sh

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
USAGE='(--continue | --abort | --skip | [--preserve-merges] [--verbose]
[--onto <branch>] <upstream> [<branch>])'

OPTIONS_SPEC=
. git-sh-setup
require_work_tree


1
git-rebase.sh

@ -29,6 +29,7 @@ Example: git-rebase master~1 topic @@ -29,6 +29,7 @@ Example: git-rebase master~1 topic
'

SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
. git-sh-setup
set_reflog_action rebase
require_work_tree

1
git-request-pull.sh

@ -8,6 +8,7 @@ USAGE='<commit> <url> [<head>]' @@ -8,6 +8,7 @@ USAGE='<commit> <url> [<head>]'
LONG_USAGE='Summarizes the changes since <commit> to the standard output,
and includes <url> in the message generated.'
SUBDIRECTORY_OK='Yes'
OPTIONS_SPEC=
. git-sh-setup
. git-parse-remote


1
git-stash.sh

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
USAGE='[ | list | show | apply | clear]'

SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
. git-sh-setup
require_work_tree
cd_to_toplevel

1
git-submodule.sh

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
# Copyright (c) 2007 Lars Hjemli

USAGE='[--quiet] [--cached] [add <repo> [-b branch]|status|init|update] [--] [<path>...]'
OPTIONS_SPEC=
. git-sh-setup
require_work_tree


Loading…
Cancel
Save