summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-31 13:51:42 -0800
committerJunio C Hamano <gitster@pobox.com>2008-01-31 13:51:42 -0800
commitbb8eebb94f0acf9a7ec19a1815bff7c9a2d3e427 (patch)
treeb4ef29cb0b2f0c1990c600a8a6ab4ee05181c97e
parentc02792edd68897e42c64e250eb5d659291959ebf (diff)
downloadgit-bb8eebb94f0acf9a7ec19a1815bff7c9a2d3e427.tar.gz
Revert "filter-branch docs: remove brackets so not to imply revision arg is optional"
This reverts commit c41b439244c51b30c60953192816afc91e552578, as we decided to default to HEAD when revision parameters are missing and they are no longer mandatory.
-rw-r--r--Documentation/git-filter-branch.txt2
-rwxr-xr-xgit-filter-branch.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
index a7f51ab4d0..e22dfa5803 100644
--- a/Documentation/git-filter-branch.txt
+++ b/Documentation/git-filter-branch.txt
@@ -13,7 +13,7 @@ SYNOPSIS
[--msg-filter <command>] [--commit-filter <command>]
[--tag-name-filter <command>] [--subdirectory-filter <directory>]
[--original <namespace>] [-d <directory>] [-f | --force]
- <rev-list options>
+ [<rev-list options>...]
DESCRIPTION
-----------
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index ed54e20b2f..ff716cabb0 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -92,7 +92,7 @@ USAGE="[--env-filter <command>] [--tree-filter <command>] \
[--msg-filter <command>] [--commit-filter <command>] \
[--tag-name-filter <command>] [--subdirectory-filter <directory>] \
[--original <namespace>] [-d <directory>] [-f | --force] \
-<rev-list options>"
+[<rev-list options>...]"
OPTIONS_SPEC=
. git-sh-setup