@matheusbsbs / matheus-bagliano / commits / 8f321a3925
Fork 0

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>

Junio C Hamano committed Nov 6, 2007 at 01:50 UTC 8f321a39257a06db014a3b6ae5dce839821cdb16
11 files changed +11
git-bisect.sh
+1
@@ -22,6 +22,7 @@ git bisect log
22 git bisect run <cmd>...
23 use <cmd>... to automatically bisect.'
24
25 +OPTIONS_SPEC=
26 . git-sh-setup
27 require_work_tree
28
git-commit.sh
+1
@@ -5,6 +5,7 @@
5
6 USAGE='[-a | --interactive] [-s] [-v] [--no-verify] [-m <message> | -F <logfile> | (-C|-c) <commit> | --amend] [-u] [-e] [--author <author>] [--template <file>] [[-i | -o] <path>...]'
7 SUBDIRECTORY_OK=Yes
8 +OPTIONS_SPEC=
9 . git-sh-setup
10 require_work_tree
11
git-filter-branch.sh
+1
@@ -92,6 +92,7 @@ USAGE="[--env-filter <command>] [--tree-filter <command>] \
92 [--original <namespace>] [-d <directory>] [-f | --force] \
93 [<rev-list options>...]"
94
95 +OPTIONS_SPEC=
96 . git-sh-setup
97
98 git diff-files --quiet &&
git-lost-found.sh
+1
@@ -2,6 +2,7 @@
2
3 USAGE=''
4 SUBDIRECTORY_OK='Yes'
5 +OPTIONS_SPEC=
6 . git-sh-setup
7
8 if [ "$#" != "0" ]
git-mergetool.sh
+1
@@ -10,6 +10,7 @@
10
11 USAGE='[--tool=tool] [file to merge] ...'
12 SUBDIRECTORY_OK=Yes
13 +OPTIONS_SPEC=
14 . git-sh-setup
15 require_work_tree
16 prefix=$(git rev-parse --show-prefix)
git-pull.sh
+1
@@ -7,6 +7,7 @@
7 USAGE='[-n | --no-summary] [--[no-]commit] [--[no-]squash] [--[no-]ff] [-s strategy]... [<fetch-options>] <repo> <head>...'
8 LONG_USAGE='Fetch one or more remote refs and merge it/them into the current HEAD.'
9 SUBDIRECTORY_OK=Yes
10 +OPTIONS_SPEC=
11 . git-sh-setup
12 set_reflog_action "pull $*"
13 require_work_tree
git-rebase--interactive.sh
+1
@@ -13,6 +13,7 @@
13 USAGE='(--continue | --abort | --skip | [--preserve-merges] [--verbose]
14 [--onto <branch>] <upstream> [<branch>])'
15
16 +OPTIONS_SPEC=
17 . git-sh-setup
18 require_work_tree
19
git-rebase.sh
+1
@@ -29,6 +29,7 @@ Example: git-rebase master~1 topic
29 '
30
31 SUBDIRECTORY_OK=Yes
32 +OPTIONS_SPEC=
33 . git-sh-setup
34 set_reflog_action rebase
35 require_work_tree
git-request-pull.sh
+1
@@ -8,6 +8,7 @@ USAGE='<commit> <url> [<head>]'
8 LONG_USAGE='Summarizes the changes since <commit> to the standard output,
9 and includes <url> in the message generated.'
10 SUBDIRECTORY_OK='Yes'
11 +OPTIONS_SPEC=
12 . git-sh-setup
13 . git-parse-remote
14
git-stash.sh
+1
@@ -4,6 +4,7 @@
4 USAGE='[ | list | show | apply | clear]'
5
6 SUBDIRECTORY_OK=Yes
7 +OPTIONS_SPEC=
8 . git-sh-setup
9 require_work_tree
10 cd_to_toplevel
git-submodule.sh
+1
@@ -5,6 +5,7 @@
5 # Copyright (c) 2007 Lars Hjemli
6
7 USAGE='[--quiet] [--cached] [add <repo> [-b branch]|status|init|update] [--] [<path>...]'
8 +OPTIONS_SPEC=
9 . git-sh-setup
10 require_work_tree
11