cat-file: sort and de-dup output of --batch-all-objects
commit3115ee45c8c7c0b753663890b13ec0e14fe4c0d7
authorJeff King <peff@peff.net>
Mon, 22 Jun 2015 11:06:32 +0000 (22 07:06 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2015 16:24:42 +0000 (26 09:24 -0700)
treedb7ceda377412cbdf84cce0d96fc7f432a2c415d
parent6a951937ae1abb5fe438bfb41ebb28c5abe0419d
cat-file: sort and de-dup output of --batch-all-objects

The sorting we could probably live without, but printing
duplicates is just a hassle for the user, who must then
de-dup themselves (or risk a wrong answer if they are doing
something like counting objects with a particular property).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-cat-file.txt
builtin/cat-file.c
t/t1006-cat-file.sh