author | Anders Kaseorg <andersk@ksplice.com> | |
Thu, 9 Dec 2010 06:43:32 +0000 (01:43 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 9 Dec 2010 19:20:25 +0000 (11:20 -0800) | ||
commit | 1e1ade1833db42a75f2792b4472748721f73c827 | |
tree | a8b61196c2272cf77697a8bdd3474bdc72ac229b | tree | snapshot |
parent | 56a5f3afa74c70261dd2319ad76a6810e102026c | commit | diff |
describe: Do not use a flex array in struct commit_name
Now add_to_known_names overwrites commit_names in place when multiple
tags point to the same commit. This will make it easier to store
commit_names in a hash table.
Signed-off-by: Anders Kaseorg <andersk@ksplice.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Now add_to_known_names overwrites commit_names in place when multiple
tags point to the same commit. This will make it easier to store
commit_names in a hash table.
Signed-off-by: Anders Kaseorg <andersk@ksplice.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/describe.c | diff | blob | history |