]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-rev-list.c
Merge branch 'ph/parseopt-step-blame'
[thirdparty/git.git] / builtin-rev-list.c
index 11a7eae551601abcd1eddfae389b86fac462b9a7..b4a2c447f22163b3165a0c6081899498e3048b51 100644 (file)
@@ -575,23 +575,6 @@ static struct commit_list *find_bisection(struct commit_list *list,
        return best;
 }
 
-static void read_revisions_from_stdin(struct rev_info *revs)
-{
-       char line[1000];
-
-       while (fgets(line, sizeof(line), stdin) != NULL) {
-               int len = strlen(line);
-               if (len && line[len - 1] == '\n')
-                       line[--len] = 0;
-               if (!len)
-                       break;
-               if (line[0] == '-')
-                       die("options not supported in --stdin mode");
-               if (handle_revision_arg(line, revs, 0, 1))
-                       die("bad revision '%s'", line);
-       }
-}
-
 int cmd_rev_list(int argc, const char **argv, const char *prefix)
 {
        struct commit_list *list;