diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2012-11-28 23:11:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-29 12:18:45 -0800 |
commit | 2d242de4fd76e31031ee36e7307ab1386e2bce7d (patch) | |
tree | 9138049ab33ab01d597fb7021b297b364e9ed4e1 /builtin/fast-export.c | |
parent | 1d3f9a30938e12b8ef7b807df7565b40b743d421 (diff) | |
download | git-2d242de4fd76e31031ee36e7307ab1386e2bce7d.tar.gz |
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 <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fast-export.c')
-rw-r--r-- | builtin/fast-export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c index 9b70ec1fcf..191936c179 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) |