Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-24 09:30:08 +0300
committerJunio C Hamano <gitster@pobox.com>2009-11-24 09:30:08 +0300
commite61f25f3a6bb5dcbb5ae5f8b4ad26c308982373c (patch)
tree2add4512857b856b31b35f2b827975c3d916ff63 /builtin-rev-list.c
parent2a971012b6be236c46cab7212239d70d92b02715 (diff)
parentd21fc9342cd82bb48bfbf9f54024ae2d4e16a9a3 (diff)
Merge branch 'jc/log-stdin'
* jc/log-stdin: Add trivial tests for --stdin option to log family Make --stdin option to "log" family read also pathspecs setup_revisions(): do not call get_pathspec() too early Teach --stdin option to "log" family read_revision_from_stdin(): use strbuf Conflicts: revision.c
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r--builtin-rev-list.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index ac1136a3f5..91b604289d 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -306,7 +306,6 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
struct rev_info revs;
struct rev_list_info info;
int i;
- int read_from_stdin = 0;
int bisect_list = 0;
int bisect_show_vars = 0;
int bisect_find_all = 0;
@@ -351,12 +350,6 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
bisect_show_vars = 1;
continue;
}
- if (!strcmp(arg, "--stdin")) {
- if (read_from_stdin++)
- die("--stdin given twice?");
- read_revisions_from_stdin(&revs);
- continue;
- }
usage(rev_list_usage);
}