summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-03 06:59:18 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-20 15:10:29 -0800
commit8b3dce565084c89ceb19f7ccf0fe22ffd365f7fd (patch)
tree8af65ea645a32792642903fac65a4d776aa2408f /Documentation
parentread_revision_from_stdin(): use strbuf (diff)
downloadtgif-8b3dce565084c89ceb19f7ccf0fe22ffd365f7fd.tar.xz
Teach --stdin option to "log" family
Move the logic to read revs from standard input that rev-list knows about from it to revision machinery, so that all the users of setup_revisions() can feed the list of revs from the standard input when "--stdin" is used on the command line. Allow some users of the revision machinery that want different semantics from the "--stdin" option to disable it by setting an option in the rev_info structure. This also cleans up the kludge made to bundle.c via cut and paste. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/rev-list-options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index bf66116d61..88ad405111 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -243,12 +243,12 @@ endif::git-rev-list[]
Pretend as if all the refs in `$GIT_DIR/refs/remotes` are listed
on the command line as '<commit>'.
-ifdef::git-rev-list[]
--stdin::
In addition to the '<commit>' listed on the command
line, read them from the standard input.
+ifdef::git-rev-list[]
--quiet::
Don't print anything to standard output. This form