cat-file: support --textconv/--filters in batch mode
commit321459439e19517c412cab1cfbb64a2749f272c9
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 9 Sep 2016 10:10:54 +0000 (9 12:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Sep 2016 21:48:15 +0000 (11 14:48 -0700)
treec554f8d87a9ba17218b7b96f4af7e18fd31eadfa
parent7bcf341453572a227036afec76bdab451b798870
cat-file: support --textconv/--filters in batch mode

With this patch, --batch can be combined with --textconv or --filters.
For this to work, the input needs to have the form

<object name><single white space><path>

so that the filters can be chosen appropriately.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-cat-file.txt
builtin/cat-file.c
t/t8010-cat-file-filters.sh