diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2007-11-02 13:32:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-04 01:54:20 -0700 |
commit | 23c17d4a4a0e1fc9a5fa347f1fc6be3cf477e543 (patch) | |
tree | c220a3c6a6e6cda4c6b0119e5a837823157cde12 /builtin-log.c | |
parent | 140dd77a5cb2e61dcb942e245a2474fae95e42a5 (diff) | |
download | git-23c17d4a4a0e1fc9a5fa347f1fc6be3cf477e543.tar.gz git-23c17d4a4a0e1fc9a5fa347f1fc6be3cf477e543.tar.xz |
Simplify topo-sort logic
.. by not using quite so much indirection.
This currently grows the "struct commit" a bit, which could be avoided by
using a union for "util" and "indegree" (the topo-sort used to use "util"
anyway, so you cannot use them together), but for now the goal of this was
to simplify, not optimize.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'builtin-log.c')
0 files changed, 0 insertions, 0 deletions