t6300: test sort with multiple keys
commit912072d53a6f257fbbfd8a103e14248ae2382b6d
authorKacper Kornet <draenog@pld-linux.org>
Tue, 21 Aug 2012 07:46:06 +0000 (21 09:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Aug 2012 21:42:11 +0000 (21 14:42 -0700)
tree0fbdf69444fdbde4af080ad481d1cc4d2017bd8c
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e
t6300: test sort with multiple keys

Documentation of git-for-each-ref says that --sort=<key> option can be
used multiple times, in which case the last key becomes the primary key.
However this functionality was never checked in test suite and is
currently broken. This commit adds appropriate test in preparation for fix.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6300-for-each-ref.sh