commit | 3b51222ceceed022f45193db19c57cf53f0164df | [log] [tgz] |
---|---|---|
author | Kacper Kornet <draenog@pld-linux.org> | Tue Aug 21 09:47:26 2012 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Aug 21 14:42:12 2012 -0700 |
tree | e68d79593a8252f033cf5d0ca527a6a9228cf6fb | |
parent | 912072d53a6f257fbbfd8a103e14248ae2382b6d [diff] |
for-each-ref: Fix sort with multiple keys The linked list describing sort options was not correctly set up in opt_parse_sort. In the result, contrary to the documentation, only the last of multiple --sort options to git-for-each-ref was taken into account. This commit fixes it. Signed-off-by: Kacper Kornet <draenog@pld-linux.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>