Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
scripts: Add placeholders for OPTIONS_SPEC
author
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Nov 2007 09:50:02 +0000
(
01:50
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Nov 2007 09:50:02 +0000
(
01:50
-0800)
--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>
git-bisect.sh
patch
|
blob
|
history
git-commit.sh
patch
|
blob
|
history
git-filter-branch.sh
patch
|
blob
|
history
git-lost-found.sh
patch
|
blob
|
history
git-mergetool.sh
patch
|
blob
|
history
git-pull.sh
patch
|
blob
|
history
git-rebase--interactive.sh
patch
|
blob
|
history
git-rebase.sh
patch
|
blob
|
history
git-request-pull.sh
patch
|
blob
|
history
git-stash.sh
patch
|
blob
|
history
git-submodule.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
5715d0b
)
diff --git
a/git-bisect.sh
b/git-bisect.sh
index b74f44df603fa38dd2954aebe7a56a8480450236..c18bd32bf430c4cde07777e160cc3d4c81ee8999 100755
(executable)
--- a/
git-bisect.sh
+++ b/
git-bisect.sh
@@
-22,6
+22,7
@@
git bisect log
git bisect run <cmd>...
use <cmd>... to automatically bisect.'
git bisect run <cmd>...
use <cmd>... to automatically bisect.'
+OPTIONS_SPEC=
. git-sh-setup
require_work_tree
. git-sh-setup
require_work_tree
diff --git
a/git-commit.sh
b/git-commit.sh
index fcb8443bdfa2a87a436ae79471d91c89e944fffd..9a636e55ccb41cb1eba6cde7a54fd33d9d735d94 100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-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
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
. git-sh-setup
require_work_tree
diff --git
a/git-filter-branch.sh
b/git-filter-branch.sh
index ffcc408ee5217d7a8f6179a0404ffe387e0dab0f..c9f515d0ee0f36fc44f667f17674462ced7c2c9e 100755
(executable)
--- a/
git-filter-branch.sh
+++ b/
git-filter-branch.sh
@@
-92,6
+92,7
@@
USAGE="[--env-filter <command>] [--tree-filter <command>] \
[--original <namespace>] [-d <directory>] [-f | --force] \
[<rev-list options>...]"
[--original <namespace>] [-d <directory>] [-f | --force] \
[<rev-list options>...]"
+OPTIONS_SPEC=
. git-sh-setup
git diff-files --quiet &&
. git-sh-setup
git diff-files --quiet &&
diff --git
a/git-lost-found.sh
b/git-lost-found.sh
index c0b00e0fd143ab9d96933f2d39baa94e7e50e0ef..a5a32e7c70f33369a016dd18ebb072c90b3a40f7 100755
(executable)
--- a/
git-lost-found.sh
+++ b/
git-lost-found.sh
@@
-2,6
+2,7
@@
USAGE=''
SUBDIRECTORY_OK='Yes'
USAGE=''
SUBDIRECTORY_OK='Yes'
+OPTIONS_SPEC=
. git-sh-setup
if [ "$#" != "0" ]
. git-sh-setup
if [ "$#" != "0" ]
diff --git
a/git-mergetool.sh
b/git-mergetool.sh
index a68b40386bde1c47c33a19514ec3a22db7fb0e4b..5587c5ecea0f6a97f2715636890c9e2f89845d52 100755
(executable)
--- a/
git-mergetool.sh
+++ b/
git-mergetool.sh
@@
-10,6
+10,7
@@
USAGE='[--tool=tool] [file to merge] ...'
SUBDIRECTORY_OK=Yes
USAGE='[--tool=tool] [file to merge] ...'
SUBDIRECTORY_OK=Yes
+OPTIONS_SPEC=
. git-sh-setup
require_work_tree
prefix=$(git rev-parse --show-prefix)
. git-sh-setup
require_work_tree
prefix=$(git rev-parse --show-prefix)
diff --git
a/git-pull.sh
b/git-pull.sh
index 75ec011969f7cd84979911b917b886696a077c5e..30fdc57310897207f2e931396d184e94b48ad2ef 100755
(executable)
--- a/
git-pull.sh
+++ b/
git-pull.sh
@@
-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
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
. git-sh-setup
set_reflog_action "pull $*"
require_work_tree
diff --git
a/git-rebase--interactive.sh
b/git-rebase--interactive.sh
index 76dc679e62cf32a5ba04902558812e3244baf936..6d140928890fccc0b2ac8fd640a236ffbad21793 100755
(executable)
--- a/
git-rebase--interactive.sh
+++ b/
git-rebase--interactive.sh
@@
-13,6
+13,7
@@
USAGE='(--continue | --abort | --skip | [--preserve-merges] [--verbose]
[--onto <branch>] <upstream> [<branch>])'
USAGE='(--continue | --abort | --skip | [--preserve-merges] [--verbose]
[--onto <branch>] <upstream> [<branch>])'
+OPTIONS_SPEC=
. git-sh-setup
require_work_tree
. git-sh-setup
require_work_tree
diff --git
a/git-rebase.sh
b/git-rebase.sh
index 224cca98eea324cabf30885f7c92c254b184410b..e3ad7dedc4c27c505ae1278ed9e108d43bdca32d 100755
(executable)
--- a/
git-rebase.sh
+++ b/
git-rebase.sh
@@
-29,6
+29,7
@@
Example: git-rebase master~1 topic
'
SUBDIRECTORY_OK=Yes
'
SUBDIRECTORY_OK=Yes
+OPTIONS_SPEC=
. git-sh-setup
set_reflog_action rebase
require_work_tree
. git-sh-setup
set_reflog_action rebase
require_work_tree
diff --git
a/git-request-pull.sh
b/git-request-pull.sh
index a992430679ab2c4b3c8c5eeb5a26a6fbba0976f4..90d969c625f83860538f4cf17a2a2abde81fc945 100755
(executable)
--- a/
git-request-pull.sh
+++ b/
git-request-pull.sh
@@
-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'
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
. git-sh-setup
. git-parse-remote
diff --git
a/git-stash.sh
b/git-stash.sh
index 5bbda47b7b6e286e7e8e5d002d7ed461a831b579..9cabd5dc2cdbdd5de98acb3a0c839dfb07a3c9f3 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-4,6
+4,7
@@
USAGE='[ | list | show | apply | clear]'
SUBDIRECTORY_OK=Yes
USAGE='[ | list | show | apply | clear]'
SUBDIRECTORY_OK=Yes
+OPTIONS_SPEC=
. git-sh-setup
require_work_tree
cd_to_toplevel
. git-sh-setup
require_work_tree
cd_to_toplevel
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 4aaaaab0d8450094efb8d2f8e82cc63383b91b48..1c656be1cfb6eb7d63e6a1f3cdda959cf90aca89 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-5,6
+5,7
@@
# Copyright (c) 2007 Lars Hjemli
USAGE='[--quiet] [--cached] [add <repo> [-b branch]|status|init|update] [--] [<path>...]'
# Copyright (c) 2007 Lars Hjemli
USAGE='[--quiet] [--cached] [add <repo> [-b branch]|status|init|update] [--] [<path>...]'
+OPTIONS_SPEC=
. git-sh-setup
require_work_tree
. git-sh-setup
require_work_tree