author | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Nov 2009 14:59:18 +0000 (06:59 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Nov 2009 23:10:29 +0000 (15:10 -0800) | ||
commit | 8b3dce565084c89ceb19f7ccf0fe22ffd365f7fd | |
tree | 8af65ea645a32792642903fac65a4d776aa2408f | tree | snapshot |
parent | 63d564b300274ec71a274f9b672366d07ae5620a | commit | diff |
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>
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>
Documentation/rev-list-options.txt | diff | blob | history | |
builtin-blame.c | diff | blob | history | |
builtin-diff-tree.c | diff | blob | history | |
builtin-rev-list.c | diff | blob | history | |
bundle.c | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history |