From: Johannes Schindelin Date: Fri, 23 Jun 2006 15:36:21 GMT Subject: [PATCH] patch-id: "diff-tree" => "commit" Message-ID: Some time ago we changed git-log in a massive way, and one consequence is that the keyword changed. Adjust patch-id for that. Signed-off-by: Johannes Schindelin --- patch-id.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patch-id.c b/patch-id.c index edbc4aa..01845be 100644 --- a/patch-id.c +++ b/patch-id.c @@ -40,8 +40,8 @@ static void generate_id_list(void) char *p = line; int len; - if (!memcmp(line, "diff-tree ", 10)) - p += 10; + if (!memcmp(line, "commit ", 7)) + p += 7; if (!get_sha1_hex(p, n)) { flush_current_id(patchlen, sha1, &ctx); -- 1.4.1.rc1.g406e