From 1e8c8283963131c3b3e5f61942c38caa7d321ed1 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 9 Mar 2014 15:26:50 -0700 Subject: Fix event saving in git format due to wrong argument order Oops. Really stupid bug in event saving, resulting in bad event lines, that I didn't notice until I started trying to parse them. The argument order is a bit mixed up, which is partly why this happened. But considering that this is the worst bug I've hit so far in the saving code, I guess I shouldn't complain too much. Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- save-git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save-git.c b/save-git.c index 7b121a19b..c47638b8e 100644 --- a/save-git.c +++ b/save-git.c @@ -292,7 +292,7 @@ static void save_one_event(struct membuffer *b, struct event *ev) show_index(b, ev->type, "type=", ""); show_index(b, ev->flags, "flags=", ""); show_index(b, ev->value, "value=", ""); - show_utf8(b, ev->name, " name=", ""); + show_utf8(b, " name=", ev->name, ""); put_string(b, "\n"); } -- cgit v1.2.3-70-g09d2