From: Felipe Contreras Date: Wed, 28 Nov 2012 22:11:08 +0000 (+0100) Subject: fast-export: trivial cleanup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d242de4fd76e31031ee36e7307ab1386e2bce7d;p=git.git fast-export: trivial cleanup Setting 'commit' to 'commit' is a no-op. It might have been there to avoid a compiler warning, but if so, it was the compiler to blame, and it's certainly not there any more. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/builtin/fast-export.c b/builtin/fast-export.c index 9b70ec1fc..191936c17 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -483,7 +483,7 @@ static void get_tags_and_duplicates(struct object_array *pending, for (i = 0; i < pending->nr; i++) { struct object_array_entry *e = pending->objects + i; unsigned char sha1[20]; - struct commit *commit = commit; + struct commit *commit; char *full_name; if (dwim_ref(e->name, strlen(e->name), sha1, &full_name) != 1)