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:
Diffstat (limited to 'rev-tree.c')
-rw-r--r--rev-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rev-tree.c b/rev-tree.c
index c10f4ee295..7669c5ed18 100644
--- a/rev-tree.c
+++ b/rev-tree.c
@@ -236,10 +236,10 @@ int main(int argc, char **argv)
if (!interesting(rev))
continue;
- printf("%x %s", marked(rev), sha1_to_hex(rev->sha1));
+ printf("%s:%d", sha1_to_hex(rev->sha1), marked(rev));
p = rev->parent;
while (p) {
- printf(" %s", sha1_to_hex(p->parent->sha1));
+ printf(" %s:%d", sha1_to_hex(p->parent->sha1), marked(p->parent));
p = p->next;
}
printf("\n");