revision --simplify-merges: make it a no-op without pathspec
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Aug 2008 20:52:36 +0000 (13:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Aug 2008 07:39:47 +0000 (00:39 -0700)
commit5eac739e05620e491555850d5b513ef60595c016
tree8403e624c02e0e5764aae408f5365bdd472f4bcb
parent53030f8d1199ef9da86e7ddc2b8a659a355e5f69
revision --simplify-merges: make it a no-op without pathspec

When we are not pruning there is no reason to run the merge
simplification.

Also avoid running topo-order sort twice.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c