]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
get_revision(): honor the topo_order flag for boundary commits
authorAdam Simpkins <adam@adamsimpkins.net>
Sat, 24 May 2008 23:02:05 +0000 (16:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 25 May 2008 19:22:24 +0000 (12:22 -0700)
commit4603ec0f960e582a7da7241563d3f235ad7f0d3e
tree669acf8c2eee31d2e9bae8a7ff40410498784bb3
parent3c68d67b572bce7ff41de463e75ee093e9dd71b7
get_revision(): honor the topo_order flag for boundary commits

Now get_revision() sorts the boundary commits when topo_order is set.
Since sort_in_topological_order() takes a struct commit_list, it first
places the boundary commits into revs->commits.

Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c
revision.c