Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Simplify topo-sort logic
author
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 2 Nov 2007 20:32:58 +0000
(13:32 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 4 Nov 2007 08:54:20 +0000
(
01:54
-0700)
.. 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>
raw
|
patch
| inline |
side by side
(from:
23c17d4
)
No differences found