[PATCH] patch-id: "diff-tree" => "commit"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 23, 2006, 15:36 UTC
- Message-ID
- <Pine.LNX.4.63.0606231731280.29667@wbgn013.biozentrum.uni-wuerzburg.de>
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 <Johannes.Schindelin@gmx.de> --- 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