Rewrite Tcl/Tk interpreter path for the GUI tools.
[gitweb.git] / builtin-rev-list.c
index fb7fc92145b6a8baec340176abf40c6b37f45a8e..51858e3233a74a2a5cc7e96e7dc5d9786fecc326 100644 (file)
@@ -54,6 +54,12 @@ static void show_commit(struct commit *commit)
                fputs(header_prefix, stdout);
        if (commit->object.flags & BOUNDARY)
                putchar('-');
+       else if (revs.left_right) {
+               if (commit->object.flags & SYMMETRIC_LEFT)
+                       putchar('<');
+               else
+                       putchar('>');
+       }
        if (revs.abbrev_commit && revs.abbrev)
                fputs(find_unique_abbrev(commit->object.sha1, revs.abbrev),
                      stdout);
@@ -174,7 +180,7 @@ static struct commit_list *find_bisection(struct commit_list *list)
                        nr++;
                p = p->next;
        }
-       closest = 0;
+       closest = -1;
        best = list;
 
        for (p = list; p; p = p->next) {
@@ -220,6 +226,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
        int i;
        int read_from_stdin = 0;
 
+       git_config(git_default_config);
        init_revisions(&revs, prefix);
        revs.abbrev = 0;
        revs.commit_format = CMIT_FMT_UNSPECIFIED;